hanchenye-llvm-project/llvm/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExp...

11 lines
212 B
LLVM

%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)
}