aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
blob: 5bd088db9d019e8b263e73d71f27e153759d3dcd (plain)
1
2
3
4
5
6
7
8
9
10
%y = weak global sbyte 0
implementation
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)
}