diff options
-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, 12 insertions, 0 deletions
diff --git a/test/CBackend/2003-11-21-ConstantShiftExpr.ll b/test/CBackend/2003-11-21-ConstantShiftExpr.ll new file mode 100644 index 0000000000..a2a145f487 --- /dev/null +++ b/test/CBackend/2003-11-21-ConstantShiftExpr.ll @@ -0,0 +1,6 @@ +%y = weak global sbyte 0 +implementation +uint %testcase() { +entry: + ret uint shr (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 new file mode 100644 index 0000000000..a2a145f487 --- /dev/null +++ b/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll @@ -0,0 +1,6 @@ +%y = weak global sbyte 0 +implementation +uint %testcase() { +entry: + ret uint shr (uint cast (sbyte* %y to uint), ubyte 4) +} |