mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
5bd69087d9
llvm-svn: 19219
9 lines
201 B
LLVM
9 lines
201 B
LLVM
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep ubyte
|
|
|
|
int %test1(uint %X) {
|
|
%Y = cast uint %X to ubyte ;; Turn into an AND
|
|
%Z = cast ubyte %Y to int
|
|
ret int %Z
|
|
}
|
|
|