mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
Don't repeatedly evaluate size() in the for loop. NFCI.
llvm-svn: 329853
This commit is contained in:
parent
81e041e541
commit
eec640564a
@ -261,7 +261,7 @@ public:
|
||||
// Also for instructions that their EVEX version was upgraded to work with
|
||||
// k-registers. For example VPCMPEQBrm (xmm output register) and
|
||||
// VPCMPEQBZ128rm (k register output register).
|
||||
for (unsigned i = 0; i < Inst->Operands.size(); i++) {
|
||||
for (unsigned i = 0, e = Inst->Operands.size(); i < e; i++) {
|
||||
Record *OpRec1 = Inst->Operands[i].Rec;
|
||||
Record *OpRec2 = Inst2->Operands[i].Rec;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user