From 67be55aea6780e20dd9a061d751648c65a196e27 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Wed, 1 May 2013 23:32:52 +0200 Subject: [PATCH] R600:Trans instructions should not be eligible to PV --- lib/Target/R600/R600Packetizer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/R600/R600Packetizer.cpp b/lib/Target/R600/R600Packetizer.cpp index 05e96f1..2d56c79 100644 --- a/lib/Target/R600/R600Packetizer.cpp +++ b/lib/Target/R600/R600Packetizer.cpp @@ -78,6 +78,8 @@ private: I--; if (!TII->isALUInstr(I->getOpcode()) && !I->isBundle()) return Result; + if (TII->isTransOnly(I)) + return Result; MachineBasicBlock::instr_iterator BI = I.getInstrIterator(); if (I->isBundle()) BI++; -- 1.8.1.4