X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2Fselect.ll;h=b018fbe9c41607dfc1b740f48454c1b3858f7909;hb=0011dc4738fbe624d44197ef9496517fd093eaa4;hp=8f378bb3b9b74575b64dfc8509fdbbf49d1da0a1;hpb=e7e3f2e5cd786f6cca267210b3d185b2a4a037bd;p=oota-llvm.git diff --git a/test/Assembler/select.ll b/test/Assembler/select.ll index 8f378bb3b9b..b018fbe9c41 100644 --- a/test/Assembler/select.ll +++ b/test/Assembler/select.ll @@ -1,9 +1,9 @@ -; RUN: llvm-as < %s -o /dev/null -f +; RUN: llvm-as %s -o /dev/null -f - -int %test(bool %C, int %V1, int %V2) { - %X = select bool true, bool false, bool true - %V = select bool %X, int %V1, int %V2 - ret int %V +define i32 @test(i1 %C, i32 %V1, i32 %V2) { + %X = select i1 true, i1 false, i1 true ; [#uses=1] + %V = select i1 %X, i32 %V1, i32 %V2 ; [#uses=1] + ret i32 %V } +