aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/R600/R600ExpandSpecialInstrs.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-13 00:59:38 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-12-13 00:59:38 +0000
commit4397294e78dbfda8e812a63adaf6f27fca7868a3 (patch)
tree2670d7bc39a62afe7476d7378dade6bd1de43edf /lib/Target/R600/R600ExpandSpecialInstrs.cpp
parent5d7802ceccdaaaec1b7612ef4adb90dbaa278ece (diff)
downloadexternal_llvm-4397294e78dbfda8e812a63adaf6f27fca7868a3.zip
external_llvm-4397294e78dbfda8e812a63adaf6f27fca7868a3.tar.gz
external_llvm-4397294e78dbfda8e812a63adaf6f27fca7868a3.tar.bz2
Avoid setIsInsideBundle in Target/R600.
This function is going to be removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/R600ExpandSpecialInstrs.cpp')
-rw-r--r--lib/Target/R600/R600ExpandSpecialInstrs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/R600/R600ExpandSpecialInstrs.cpp b/lib/Target/R600/R600ExpandSpecialInstrs.cpp
index 58221f9..b6e62b7 100644
--- a/lib/Target/R600/R600ExpandSpecialInstrs.cpp
+++ b/lib/Target/R600/R600ExpandSpecialInstrs.cpp
@@ -318,7 +318,8 @@ bool R600ExpandSpecialInstrsPass::runOnMachineFunction(MachineFunction &MF) {
MachineInstr *NewMI =
TII->buildDefaultInstruction(MBB, I, Opcode, DstReg, Src0, Src1);
- NewMI->setIsInsideBundle(Chan != 0);
+ if (Chan != 0)
+ NewMI->bundleWithPred();
if (Mask) {
TII->addFlag(NewMI, 0, MO_FLAG_MASK);
}