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