blob: 3866200de08c620fe456524de6af22ddfaec1f7c [file] [log] [blame]
; 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)
}