mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Give Dan and my recent changes, machine LICM is now code size neutral.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83624 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -131,10 +131,6 @@ static bool LoopIsOuterMostWithPreheader(MachineLoop *CurLoop) {
|
|||||||
/// loop.
|
/// loop.
|
||||||
///
|
///
|
||||||
bool MachineLICM::runOnMachineFunction(MachineFunction &MF) {
|
bool MachineLICM::runOnMachineFunction(MachineFunction &MF) {
|
||||||
const Function *F = MF.getFunction();
|
|
||||||
if (F->hasFnAttr(Attribute::OptimizeForSize))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
DEBUG(errs() << "******** Machine LICM ********\n");
|
DEBUG(errs() << "******** Machine LICM ********\n");
|
||||||
|
|
||||||
Changed = false;
|
Changed = false;
|
||||||
|
Reference in New Issue
Block a user