brintos

brintos / llvm-project-archived public Read only

0
0
Text · 504 B · 3fd179c Raw
25 lines · plain
1# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s2# This test ensures that the MIR parser parses the 'dead' register flags3# correctly.4 5--- |6 7  define i32 @foo(i32 %a) #0 {8  body:9    %c = mul i32 %a, 1110    ret i32 %c11  }12 13  attributes #0 = { "frame-pointer"="none" }14 15...16---17name:            foo18body: |19  ; CHECK: bb.0.body:20  bb.0.body:21    ; CHECK: $eax = IMUL32rri8 $edi, 11, implicit-def dead $eflags22    $eax = IMUL32rri8 $edi, 11, implicit-def dead $eflags23    RET64 $eax24...25