reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
; 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
}