diff options
Diffstat (limited to 'test/CodeGen/MIR/X86/expected-subregister-after-colon.mir')
-rw-r--r-- | test/CodeGen/MIR/X86/expected-subregister-after-colon.mir | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/test/CodeGen/MIR/X86/expected-subregister-after-colon.mir b/test/CodeGen/MIR/X86/expected-subregister-after-colon.mir index c891a115a180..6283427c10b3 100644 --- a/test/CodeGen/MIR/X86/expected-subregister-after-colon.mir +++ b/test/CodeGen/MIR/X86/expected-subregister-after-colon.mir @@ -16,14 +16,12 @@ registers: - { id: 0, class: gr32 } - { id: 1, class: gr8 } - { id: 2, class: gr8 } -body: - - name: entry - id: 0 - instructions: - - '%0 = COPY %edi' - # CHECK: [[@LINE+1]]:25: expected a subregister index after ':' - - '%1 = COPY %0 : 42' - - '%2 = AND8ri %1, 1, implicit-def %eflags' - - '%al = COPY %2' - - 'RETQ %al' +body: | + bb.0.entry: + %0 = COPY %edi + ; CHECK: [[@LINE+1]]:20: expected a subregister index after ':' + %1 = COPY %0 : 42 + %2 = AND8ri %1, 1, implicit-def %eflags + %al = COPY %2 + RETQ %al ... |