setf8-use-nzcv.mir 356 Bytes
# RUN: not llc -o - %s -mtriple=arm64-eabi -run-pass=legalizer 2>&1 | FileCheck %s

# CHECK: [[@LINE+10]]:40: missing implicit register operand 'implicit-def $nzcv'
...
---
name:            test_flags
liveins:
  - { reg: '$w0' }
body:             |
  bb.0:
    liveins: $w0

    SETF8 renamable $w0, implicit $nzcv
    RET undef $lr, implicit killed $w0