Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
d3d086d6794e901bde43b1c1a374a4b1d571d7e7
/
.
/
llvm
/
test
/
Regression
/
CodeGen
/
CBackend
/
2003-11-21-ConstantShiftExpr.ll
blob: 32358a409f4754eb937543116e7e3ed0ea6853f0 [
file
] [
log
] [
blame
]
; 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
)
}