Home | History | Annotate | Download | only in X86
      1 # RUN: llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o - %s | FileCheck %s
      2 # This test ensures that the MIR parser parses the 'dead' register flags
      3 # correctly.
      4 
      5 --- |
      6 
      7   define i32 @foo(i32 %a) #0 {
      8   body:
      9     %c = mul i32 %a, 11
     10     ret i32 %c
     11   }
     12 
     13   attributes #0 = { "no-frame-pointer-elim"="false" }
     14 
     15 ...
     16 ---
     17 name:            foo
     18 body: |
     19   ; CHECK: bb.0.body:
     20   bb.0.body:
     21     ; CHECK: %eax = IMUL32rri8 %edi, 11, implicit-def dead %eflags
     22     %eax = IMUL32rri8 %edi, 11, implicit-def dead %eflags
     23     RETQ %eax
     24 ...
     25