projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Access the TargetLoweringInfo from the TargetMachine object instead of caching it...
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMTargetMachine.cpp
diff --git
a/lib/Target/ARM/ARMTargetMachine.cpp
b/lib/Target/ARM/ARMTargetMachine.cpp
index d9aef78561b777424d3f8251368d1a39833077b7..354a7797deabbcdfc7fded210f2da3f3569a195f 100644
(file)
--- a/
lib/Target/ARM/ARMTargetMachine.cpp
+++ b/
lib/Target/ARM/ARMTargetMachine.cpp
@@
-150,7
+150,7
@@
TargetPassConfig *ARMBaseTargetMachine::createPassConfig(PassManagerBase &PM) {
bool ARMPassConfig::addPreISel() {
if (TM->getOptLevel() != CodeGenOpt::None && EnableGlobalMerge)
- addPass(createGlobalMergePass(TM
->getTargetLowering()
));
+ addPass(createGlobalMergePass(TM));
return false;
}