projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Legalizer optimize a pair of div / mod to a call to divrem libcall if they are
[oota-llvm.git]
/
lib
/
CodeGen
/
CodePlacementOpt.cpp
diff --git
a/lib/CodeGen/CodePlacementOpt.cpp
b/lib/CodeGen/CodePlacementOpt.cpp
index 1009a1e29c58cab67ecfb955b1e014dc0768a2db..d8e06c33a68e095f3595b4a57fd73ec987e8f1c1 100644
(file)
--- a/
lib/CodeGen/CodePlacementOpt.cpp
+++ b/
lib/CodeGen/CodePlacementOpt.cpp
@@
-373,7
+373,7
@@
bool CodePlacementOpt::OptimizeIntraLoopEdges(MachineFunction &MF) {
///
bool CodePlacementOpt::AlignLoops(MachineFunction &MF) {
const Function *F = MF.getFunction();
///
bool CodePlacementOpt::AlignLoops(MachineFunction &MF) {
const Function *F = MF.getFunction();
- if (F->getFnAttributes().has
OptimizeForSizeAttr(
))
+ if (F->getFnAttributes().has
Attribute(Attributes::OptimizeForSize
))
return false;
unsigned Align = TLI->getPrefLoopAlignment();
return false;
unsigned Align = TLI->getPrefLoopAlignment();