summaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-11-22 05:01:57 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-11-22 05:01:57 +0000
commit95c03fd20422d7a5f8d1e0bf7c20675488f56b68 (patch)
tree3518c709965eff999cfe45ca1a68496d3e47b300 /test/CodeGen
parentb1ef7d6e35e7ff369a330f74f678ef5ffb13928c (diff)
downloadexternal_llvm-95c03fd20422d7a5f8d1e0bf7c20675488f56b68.zip
external_llvm-95c03fd20422d7a5f8d1e0bf7c20675488f56b68.tar.gz
external_llvm-95c03fd20422d7a5f8d1e0bf7c20675488f56b68.tar.bz2
Strengthen test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10166 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll b/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
index a2a145f..5bd088d 100644
--- a/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
+++ b/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
@@ -1,6 +1,10 @@
%y = weak global sbyte 0
implementation
-uint %testcase() {
+uint %testcaseshr() {
entry:
ret uint shr (uint cast (sbyte* %y to uint), ubyte 4)
}
+uint %testcaseshl() {
+entry:
+ ret uint shl (uint cast (sbyte* %y to uint), ubyte 4)
+}