projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't recompute MachineRegisterInfo in the Optimize* method.
[oota-llvm.git]
/
include
/
llvm
/
Target
/
TargetInstrInfo.h
diff --git
a/include/llvm/Target/TargetInstrInfo.h
b/include/llvm/Target/TargetInstrInfo.h
index a2654c97de2a3e9075794bdb990b2596580dc4ff..6615ee4aacd0b5555949e87ceebcd59d9e9869b2 100644
(file)
--- a/
include/llvm/Target/TargetInstrInfo.h
+++ b/
include/llvm/Target/TargetInstrInfo.h
@@
-600,6
+600,7
@@
public:
/// *only* if a transformation took place.
virtual bool OptimizeCompareInstr(MachineInstr *CmpInstr,
unsigned SrcReg, int Mask, int Value,
+ const MachineRegisterInfo *MRI,
MachineBasicBlock::iterator &) const {
return false;
}