mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-15 07:59:33 +00:00
882443585d
by 1, as well as multiply by -1. llvm-svn: 60182
12 lines
251 B
LLVM
12 lines
251 B
LLVM
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | 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
|
|
}
|