mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
R600: Make Export Instruction not duplicable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58df169e82
commit
26ebd7aafc
@ -738,7 +738,9 @@ multiclass SteamOutputExportPattern<Instruction ExportInst,
|
||||
4095, imm:$mask, buf3inst, 0)>;
|
||||
}
|
||||
|
||||
let usesCustomInserter = 1 in {
|
||||
// Export Instructions should not be duplicated by TailDuplication pass
|
||||
// (which assumes that duplicable instruction are affected by exec mask)
|
||||
let usesCustomInserter = 1, isNotDuplicable = 1 in {
|
||||
|
||||
class ExportSwzInst : InstR600ISA<(
|
||||
outs),
|
||||
|
@ -1,6 +1,8 @@
|
||||
;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
|
||||
|
||||
; CHECK: JUMP @4
|
||||
; CHECK: JUMP @3
|
||||
; CHECK: EXPORT
|
||||
; CHECK-NOT: EXPORT
|
||||
|
||||
define void @main() #0 {
|
||||
main_body:
|
||||
|
Loading…
x
Reference in New Issue
Block a user