Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/Mips/delay-slot-kill.ll @ 146:3fc4d5c3e21e
set tail call flag for code segment in CGCAll
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:23:36 +0900 |
parents | afa8332a0e37 |
children | c2174574ed3a |
line wrap: on
line source
; RUN: llc < %s -march=mips64 -mcpu=mips3 | FileCheck %s ; We have to XFAIL this temporarily because of the reversion of r229675. ; XFAIL: * ; 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 }