X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FCBackend%2F2007-01-08-ParamAttr-ICmp.ll;h=da36e78e0b05b503a4f770ec09a6457cc196ba33;hb=d0bd76b0fb27830f18e15e3d73f2e383ff1c59f1;hp=ca04f9b8aaaa04fc612f731c85c215a252daf468;hpb=e3ff5ada8a8f6cc166ecc45147da0d63c3683026;p=oota-llvm.git diff --git a/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll b/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll index ca04f9b8aaa..da36e78e0b0 100644 --- a/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll +++ b/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll @@ -1,29 +1,26 @@ -; RUN: llvm-as < %s | llc -march=c | \ -; RUN: grep 'return ((((ltmp_2_2 == (signed int)ltmp_1_2)) ? (1) : (0)))' ; For PR1099 -; XFAIL: * +; RUN: llc < %s -march=c | grep {(llvm_cbe_tmp2 == llvm_cbe_b_2e_0_2e_0_2e_val)} target datalayout = "e-p:32:32" target triple = "i686-apple-darwin8" %struct.Connector = type { i16, i16, i8, i8, %struct.Connector*, i8* } -implementation ; Functions: -define bool @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) { +define i1 @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) { newFuncRoot: br label %entry.ce cond_next.exitStub: ; preds = %entry.ce - ret bool true + ret i1 true entry.return_crit_edge.exitStub: ; preds = %entry.ce - ret bool false + ret i1 false entry.ce: ; preds = %newFuncRoot - %tmp = getelementptr %struct.Connector* %a, i32 0, i32 0 ; [#uses=1] - %tmp = load i16* %tmp ; [#uses=1] - %tmp = icmp eq i16 %tmp, %b.0.0.val ; [#uses=1] - br bool %tmp, label %cond_next.exitStub, label %entry.return_crit_edge.exitStub + %tmp1 = getelementptr %struct.Connector* %a, i32 0, i32 0 ; [#uses=1] + %tmp2 = load i16* %tmp1 ; [#uses=1] + %tmp3 = icmp eq i16 %tmp2, %b.0.0.val ; [#uses=1] + br i1 %tmp3, label %cond_next.exitStub, label %entry.return_crit_edge.exitStub }