blob: 3866200de08c620fe456524de6af22ddfaec1f7c [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
2
3%y = weak global sbyte 0
4implementation
5uint %testcaseshr() {
6entry:
7 ret uint shr (uint cast (sbyte* %y to uint), ubyte 4)
8}
9uint %testcaseshl() {
10entry:
11 ret uint shl (uint cast (sbyte* %y to uint), ubyte 4)
12}