[llvm] r176507 - R600: Do not predicate vector op
Vincent Lejeune
vljn at ovi.com
Tue Mar 5 11:12:06 PST 2013
Author: vljn
Date: Tue Mar 5 13:12:06 2013
New Revision: 176507
URL: http://llvm.org/viewvc/llvm-project?rev=176507&view=rev
Log:
R600: Do not predicate vector op
Modified:
llvm/trunk/lib/Target/R600/R600InstrInfo.cpp
Modified: llvm/trunk/lib/Target/R600/R600InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/R600InstrInfo.cpp?rev=176507&r1=176506&r2=176507&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/R600InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/R600InstrInfo.cpp Tue Mar 5 13:12:06 2013
@@ -356,6 +356,8 @@ R600InstrInfo::isPredicable(MachineInstr
if (MI->getOpcode() == AMDGPU::KILLGT) {
return false;
+ } else if (isVector(*MI)) {
+ return false;
} else {
return AMDGPUInstrInfo::isPredicable(MI);
}
More information about the llvm-commits
mailing list