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
   12
   13
   14
; RUN: llc < %s -march=mips64 -mcpu=mips3 | FileCheck %s

; Currently, the following IR assembly generates a KILL instruction between
; the bitwise-and instruction and the return instruction. We verify that the
; delay slot filler ignores such KILL instructions by filling the slot of the
; return instruction properly.
define signext i32 @f1(i32 signext %a, i32 signext %b) {
entry:
  ; CHECK:          jr      $ra
  ; CHECK-NEXT:     and     $2, $4, $5

  %r = and i32 %a, %b
  ret i32 %r
}