summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-25 06:30:49 +0000
committerChris Lattner <sabre@nondot.org>2004-05-25 06:30:49 +0000
commit6a02158bc5e47cf4226c9b0cb61b283304b55ddb (patch)
tree17c70d64e2329b21d4d2ef923914f55c862c1b5f /llvm
parentdb8bdba5938136e06a0537a3ba568a4a68850506 (diff)
downloadbcm5719-llvm-6a02158bc5e47cf4226c9b0cb61b283304b55ddb.tar.gz
bcm5719-llvm-6a02158bc5e47cf4226c9b0cb61b283304b55ddb.zip
New testcase
llvm-svn: 13739
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/Transforms/InstCombine/shift.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/shift.ll b/llvm/test/Regression/Transforms/InstCombine/shift.ll
index ac7bb27ea9c..5fae18ff00b 100644
--- a/llvm/test/Regression/Transforms/InstCombine/shift.ll
+++ b/llvm/test/Regression/Transforms/InstCombine/shift.ll
@@ -109,3 +109,9 @@ int %test15a(bool %C) {
ret int %V
}
+bool %test16(int %X) {
+ %tmp.3 = shr int %X, ubyte 4
+ %tmp.6 = and int %tmp.3, 1
+ %tmp.7 = setne int %tmp.6, 0 ;; X & 16 != 0
+ ret bool %tmp.7
+}
OpenPOWER on IntegriCloud