Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 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 | } |