2009-09-11 20:01:28 +02:00
|
|
|
; RUN: opt < %s -instcombine -S | not grep mul
|
2008-11-27 21:21:08 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|