aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/select.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-16 23:27:24 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-16 23:27:24 +0000
commitfc98440b3c659c3304c367cde20caad7a5c23551 (patch)
treebcdf89fa07c98453c0a1ae2e5269b4285e18057d /test/Assembler/select.ll
parentafa10bfb94fb68da6cc3a895f7a4730df87064dd (diff)
downloadexternal_llvm-fc98440b3c659c3304c367cde20caad7a5c23551.zip
external_llvm-fc98440b3c659c3304c367cde20caad7a5c23551.tar.gz
external_llvm-fc98440b3c659c3304c367cde20caad7a5c23551.tar.bz2
Removing llvm upgrade, so remove tests specific to llvm-upgrade and update the tests that used it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/select.ll')
-rw-r--r--test/Assembler/select.ll11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/Assembler/select.ll b/test/Assembler/select.ll
index 385a499..f204c95 100644
--- a/test/Assembler/select.ll
+++ b/test/Assembler/select.ll
@@ -1,8 +1,9 @@
-; RUN: llvm-upgrade < %s | llvm-as -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 ; <i1> [#uses=1]
+ %V = select i1 %X, i32 %V1, i32 %V2 ; <i32> [#uses=1]
+ ret i32 %V
}
+