[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / cfinv-def-nzcv.mir
blobcfcda7de52c5261f20d09b986ecd6e1f02a20854
1 # RUN: not llc -o - %s -mtriple=arm64-eabi -run-pass=legalizer 2>&1 | FileCheck %s
3 # CHECK: [[@LINE+11]]:29: missing implicit register operand 'implicit $nzcv'
4 ...
5 ---
6 name:            test_flags
7 liveins:
8   - { reg: '$w0' }
9   - { reg: '$x0' }
10 body:             |
11   bb.0:
12     liveins: $w0, $x0
14     CFINV implicit-def $nzcv
15     RET undef $lr, implicit killed $w0