mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[AArch64] Fixup kill flags on BSL generation
This hopefully fixes up the expensive checks bot.
This commit is contained in:
parent
d41b688f21
commit
d40763588e
@ -464,14 +464,14 @@ bool AArch64ExpandPseudo::expandMI(MachineBasicBlock &MBB,
|
||||
BuildMI(MBB, MBBI, MI.getDebugLoc(),
|
||||
TII->get(Opcode == AArch64::BSPv8i8 ? AArch64::ORRv8i8
|
||||
: AArch64::ORRv16i8))
|
||||
.addReg(DstReg)
|
||||
.addReg(DstReg, RegState::Define)
|
||||
.add(MI.getOperand(1))
|
||||
.add(MI.getOperand(1));
|
||||
BuildMI(MBB, MBBI, MI.getDebugLoc(),
|
||||
TII->get(Opcode == AArch64::BSPv8i8 ? AArch64::BSLv8i8
|
||||
: AArch64::BSLv16i8))
|
||||
.add(MI.getOperand(0))
|
||||
.addReg(DstReg)
|
||||
.addReg(DstReg, RegState::Kill)
|
||||
.add(MI.getOperand(2))
|
||||
.add(MI.getOperand(3));
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
; Disable machine cse to stress the different path of the algorithm.
|
||||
; Otherwise, we always fall in the simple case, i.e., only one definition.
|
||||
; RUN: llc < %s -mtriple=arm64-apple-ios7.0 -disable-machine-cse -aarch64-stress-promote-const -mcpu=cyclone | FileCheck -check-prefix=PROMOTED %s
|
||||
; RUN: llc < %s -mtriple=arm64-apple-ios7.0 -disable-machine-cse -aarch64-stress-promote-const -mcpu=cyclone -verify-machineinstrs | FileCheck -check-prefix=PROMOTED %s
|
||||
; The REGULAR run just checks that the inputs passed to promote const expose
|
||||
; the appropriate patterns.
|
||||
; RUN: llc < %s -mtriple=arm64-apple-ios7.0 -disable-machine-cse -aarch64-enable-promote-const=false -mcpu=cyclone | FileCheck -check-prefix=REGULAR %s
|
||||
; RUN: llc < %s -mtriple=arm64-apple-ios7.0 -disable-machine-cse -aarch64-enable-promote-const=false -mcpu=cyclone -verify-machineinstrs | FileCheck -check-prefix=REGULAR %s
|
||||
|
||||
%struct.uint8x16x4_t = type { [4 x <16 x i8>] }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user