view test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; 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
}