summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-02-17 00:38:02 +0100
committerVincent Lejeune <vljn@ovi.com>2013-02-26 13:16:17 +0100
commitcd699d63b4b07b619e8b3228b079ade47a39c6d3 (patch)
treed561a4172052ce2aa0fa0e1afe8ff1fd1e4ba70e
parent7f4b0461e9de6ed76857babc9053bb5af363db35 (diff)
R600: Do not predicate vector op
-rw-r--r--lib/Target/R600/R600InstrInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/R600/R600InstrInfo.cpp b/lib/Target/R600/R600InstrInfo.cpp
index 7e3f005729..106bbc0495 100644
--- a/lib/Target/R600/R600InstrInfo.cpp
+++ b/lib/Target/R600/R600InstrInfo.cpp
@@ -356,6 +356,8 @@ R600InstrInfo::isPredicable(MachineInstr *MI) const {
if (MI->getOpcode() == AMDGPU::KILLGT) {
return false;
+ } else if (isVector(*MI)) {
+ return false;
} else {
return AMDGPUInstrInfo::isPredicable(MI);
}