1 #RUN: not llc -o - -march=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2 # REQUIRES: global-isel, aarch64-registered-target
9 tracksRegLiveness: true
14 %0:_(p0) = G_IMPLICIT_DEF
15 %1:_(s64) = G_IMPLICIT_DEF
17 ; CHECK: Bad machine code: Type mismatch in generic instruction
18 %2:_(s64) = G_GEP %0, %1
20 ; CHECK: Bad machine code: Type mismatch in generic instruction
21 %3:_(p0) = G_GEP %1, %1
23 ; CHECK: Bad machine code: gep offset operand must not be a pointer
24 %4:_(p0) = G_GEP %0, %0
26 ; CHECK: Bad machine code: Type mismatch in generic instruction
27 %5:_(p1) = G_GEP %0, %1
29 ; CHECK: Bad machine code: gep first operand must be a pointer
30 %6:_(s64) = G_GEP %1, %1