You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
233 B
12 lines
233 B
4 months ago
|
; 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
|
||
|
}
|