projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5435c66
)
R600/SI: Use break instead of continue
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Fri, 26 Sep 2014 17:55:14 +0000
(17:55 +0000)
committer
Matt Arsenault
<Matthew.Arsenault@amd.com>
Fri, 26 Sep 2014 17:55:14 +0000
(17:55 +0000)
If an instruction doesn't have src1, it doesn't have src2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218536
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/SIInstrInfo.cpp
b/lib/Target/R600/SIInstrInfo.cpp
index ed4884f037b72774c0dda76b8f2903dc57319841..1917a58107e4b5547f167397eedb68980ac4d198 100644
(file)
--- a/
lib/Target/R600/SIInstrInfo.cpp
+++ b/
lib/Target/R600/SIInstrInfo.cpp
@@
-1397,7
+1397,7
@@
void SIInstrInfo::legalizeOperands(MachineInstr *MI) const {
for (unsigned i = 0; i < 3; ++i) {
int Idx = VOP3Idx[i];
if (Idx == -1)
-
continue
;
+
break
;
MachineOperand &MO = MI->getOperand(Idx);
if (MO.isReg()) {