projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
constify the Function parameter to the TTI creation callback and
[oota-llvm.git]
/
lib
/
Target
/
SystemZ
/
SystemZTargetMachine.cpp
diff --git
a/lib/Target/SystemZ/SystemZTargetMachine.cpp
b/lib/Target/SystemZ/SystemZTargetMachine.cpp
index d011c2b6e67f5f79e717cbab382bc22afcc48c4c..efa3f82cec4cf9a0fd378b3e358c918359e4efd8 100644
(file)
--- a/
lib/Target/SystemZ/SystemZTargetMachine.cpp
+++ b/
lib/Target/SystemZ/SystemZTargetMachine.cpp
@@
-165,7
+165,7
@@
TargetPassConfig *SystemZTargetMachine::createPassConfig(PassManagerBase &PM) {
}
TargetIRAnalysis SystemZTargetMachine::getTargetIRAnalysis() {
- return TargetIRAnalysis([this](Function &F) {
+ return TargetIRAnalysis([this](
const
Function &F) {
return TargetTransformInfo(SystemZTTIImpl(this, F));
});
}