xref: /aosp_15_r20/external/llvm/test/Transforms/InstCombine/2008-05-22-NegValVector.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: opt < %s -instcombine -S | not grep sub
2
3define <3 x i8> @f(<3 x i8> %a) {
4  %A = sub <3 x i8> zeroinitializer, %a
5  %B = mul <3 x i8> %A, <i8 5, i8 5, i8 5>
6  ret <3 x i8> %B
7}
8
9