1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Regression/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
Tanya Lattner 47772bf0e5 Adding RUN lines.
llvm-svn: 17527
2004-11-06 21:40:51 +00:00

13 lines
248 B
LLVM

; RUN: llvm-as < %s | 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)
}