1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Transforms/InstCombine/cast-cast-to-and.ll

9 lines
216 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | 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
}