1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll
2009-09-08 22:34:10 +00:00

12 lines
231 B
LLVM

; RUN: opt %s -instcombine -S | not grep mul
define <2 x i8> @f(<2 x i8> %x) {
%A = mul <2 x i8> %x, <i8 1, i8 1>
ret <2 x i8> %A
}
define <2 x i8> @g(<2 x i8> %x) {
%A = mul <2 x i8> %x, <i8 -1, i8 -1>
ret <2 x i8> %A
}