xref: /llvm-project/llvm/test/CodeGen/MIR/X86/renamable-register-flag.mir (revision 40a4cbb0f200e5e0bafbd58d55c2da6daab9515d)
1# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s
2# This test ensures that the MIR parser parses the 'renamable' register flags
3# correctly.
4
5--- |
6  define void @foo() { ret void }
7...
8---
9name:            foo
10body: |
11  ; CHECK: bb.0:
12  bb.0:
13    ; CHECK: renamable $eax = IMUL32rri8 $edi, 11, implicit-def dead $eflags
14    renamable $eax = IMUL32rri8 $edi, 11, implicit-def dead $eflags
15    RET64 $eax
16...
17