summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-12-31 19:30:47 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-12-31 19:30:47 +0000
commit2d4ba2ebbafe401fa406e80b09546655fb7eab3e (patch)
treef7fd361060b891271e22a72849a09b83c80477ce /llvm/test/Bitcode
parent0518453e2e35a7687da07b7ebb4aa5a402183811 (diff)
downloadbcm5719-llvm-2d4ba2ebbafe401fa406e80b09546655fb7eab3e.tar.gz
bcm5719-llvm-2d4ba2ebbafe401fa406e80b09546655fb7eab3e.zip
Fold vector selects with undef elements in the condition. Fixes PR18319.
Patch by Ilia Filippov! llvm-svn: 198267
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/select.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Bitcode/select.ll b/llvm/test/Bitcode/select.ll
index 71e669a90cd..08a3061394d 100644
--- a/llvm/test/Bitcode/select.ll
+++ b/llvm/test/Bitcode/select.ll
@@ -5,5 +5,5 @@ define <2 x i32> @main() {
}
; CHECK: define <2 x i32> @main() {
-; CHECK: ret <2 x i32> select (<2 x i1> <i1 false, i1 undef>, <2 x i32> zeroinitializer, <2 x i32> <i32 0, i32 undef>)
+; CHECK: ret <2 x i32> <i32 0, i32 undef>
; CHECK: }
OpenPOWER on IntegriCloud