brintos

brintos / llvm-project-archived public Read only

0
0
Text · 473 B · 5202e43 Raw
18 lines · plain
1; RUN: llc < %s -mtriple=i686-apple-darwin -pre-RA-sched=fast \2; RUN: | FileCheck %s3; make sure scheduler honors the flags clobber.  PR 7882.4 5define i32 @main(i32 %argc, ptr %argv) nounwind6{7entry:8; CHECK: InlineAsm End9; CHECK: cmpl10    %res = icmp slt i32 1, %argc11    %tmp = call i32 asm sideeffect alignstack12        "push $$013         popf14         mov $$13, $0", "=r,r,~{memory},~{flags}" (i1 %res)15    %ret = select i1 %res, i32 %tmp, i32 4216    ret i32 %ret17}18