aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-03-05 19:12:06 +0000
committerVincent Lejeune <vljn@ovi.com>2013-03-05 19:12:06 +0000
commit62b0a9b1e6189947b7e46df1b64968e66476c912 (patch)
tree0c5b32a093ba9c056730479772bf3469d422d035
parent18daead3ff41902a61ff3344cfa77ac8aba5586d (diff)
R600: Do not predicate vector op
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176507 91177308-0d34-0410-b5e6-96231b3b80d8
-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);
}