Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / CBackend / 2003-11-21-ConstantShiftExpr.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
2
3 %y = weak global sbyte 0
4 implementation
5 uint %testcaseshr() {
6 entry:
7         ret uint shr (uint cast (sbyte* %y to uint), ubyte 4)
8 }
9 uint %testcaseshl() {
10 entry:
11         ret uint shl (uint cast (sbyte* %y to uint), ubyte 4)
12 }