llvm-project
36 строк · 1.0 Кб
1# RUN: not --crash llc -o - -mtriple=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2# REQUIRES: aarch64-registered-target
3
4---
5name: test_gep6legalized: true7regBankSelected: false8selected: false9tracksRegLiveness: true10liveins:11body: |12bb.0:
13
14%0:_(p0) = G_IMPLICIT_DEF15%1:_(s64) = G_IMPLICIT_DEF16
17; CHECK: Bad machine code: Type mismatch in generic instruction18%2:_(s64) = G_PTR_ADD %0, %119
20; CHECK: Bad machine code: Type mismatch in generic instruction21%3:_(p0) = G_PTR_ADD %1, %122
23; CHECK: Bad machine code: gep offset operand must not be a pointer24%4:_(p0) = G_PTR_ADD %0, %025
26; CHECK: Bad machine code: Type mismatch in generic instruction27%5:_(p1) = G_PTR_ADD %0, %128
29; CHECK: Bad machine code: gep first operand must be a pointer30%6:_(s64) = G_PTR_ADD %1, %131
32%7:_(s32) = G_IMPLICIT_DEF33
34; CHECK: Bad machine code: gep offset operand must match index size for address space35%8:_(p0) = G_PTR_ADD %0, %736...
37