projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a new subtarget hook for whether or not we'd like to enable
[oota-llvm.git]
/
lib
/
Target
/
TargetSubtargetInfo.cpp
diff --git
a/lib/Target/TargetSubtargetInfo.cpp
b/lib/Target/TargetSubtargetInfo.cpp
index 0c388f8fb26c8e38f95591deae5d00b7a2a99ee6..ce00fcc62737ccdcac27f9d48f5da23a57d4eac2 100644
(file)
--- a/
lib/Target/TargetSubtargetInfo.cpp
+++ b/
lib/Target/TargetSubtargetInfo.cpp
@@
-39,6
+39,10
@@
bool TargetSubtargetInfo::useMachineScheduler() const {
return enableMachineScheduler();
}
return enableMachineScheduler();
}
+bool TargetSubtargetInfo::enableAtomicExpandLoadLinked() const {
+ return true;
+}
+
bool TargetSubtargetInfo::enableMachineScheduler() const {
return false;
}
bool TargetSubtargetInfo::enableMachineScheduler() const {
return false;
}