diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-22 05:01:57 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-22 05:01:57 +0000 |
commit | 95c03fd20422d7a5f8d1e0bf7c20675488f56b68 (patch) | |
tree | 3518c709965eff999cfe45ca1a68496d3e47b300 | |
parent | b1ef7d6e35e7ff369a330f74f678ef5ffb13928c (diff) |
Strengthen test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10166 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CBackend/2003-11-21-ConstantShiftExpr.ll | 6 | ||||
-rw-r--r-- | test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/test/CBackend/2003-11-21-ConstantShiftExpr.ll b/test/CBackend/2003-11-21-ConstantShiftExpr.ll index a2a145f487..5bd088db9d 100644 --- a/test/CBackend/2003-11-21-ConstantShiftExpr.ll +++ b/test/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) +} diff --git a/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll b/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll index a2a145f487..5bd088db9d 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) +} |