mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
12 lines
233 B
LLVM
12 lines
233 B
LLVM
; RUN: opt < %s -instcombine -S | not grep div
|
|
|
|
define <2 x i8> @f(<2 x i8> %x) {
|
|
%A = udiv <2 x i8> %x, <i8 1, i8 1>
|
|
ret <2 x i8> %A
|
|
}
|
|
|
|
define <2 x i8> @g(<2 x i8> %x) {
|
|
%A = sdiv <2 x i8> %x, <i8 1, i8 1>
|
|
ret <2 x i8> %A
|
|
}
|