diff --git a/test/CBackend/2003-11-21-ConstantShiftExpr.ll b/test/CBackend/2003-11-21-ConstantShiftExpr.ll index a2a145f4873..5bd088db9d0 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 a2a145f4873..5bd088db9d0 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) +}