1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
2007-01-17 07:59:14 +00:00

13 lines
263 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
%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)
}