diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-10-18 18:16:27 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-10-18 18:16:27 +0000 |
commit | 0e9d9ca8552d16c5891501fa3733db8fa77da6cf (patch) | |
tree | d74d8b309514eeb1279989f24589074e3529ad6a /llvm/lib/Target/X86/X86Subtarget.h | |
parent | 094c459525d08a9c08ed5119808d549660a7025c (diff) | |
download | bcm5719-llvm-0e9d9ca8552d16c5891501fa3733db8fa77da6cf.tar.gz bcm5719-llvm-0e9d9ca8552d16c5891501fa3733db8fa77da6cf.zip |
-Revert parts of 84326 and 84411. Distinquishing between fixed and non-fixed
stack slots and giving them different PseudoSourceValue's did not fix the
problem of post-alloc scheduling miscompiling llvm itself.
- Apply Dan's conservative workaround by assuming any non fixed stack slots can
alias other memory locations. This means a load from spill slot #1 cannot
move above a store of spill slot #2.
- Enable post-alloc scheduling for x86 at optimization leverl Default and above.
llvm-svn: 84424
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index 16a2f1023c9..e9392f5b36f 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -220,7 +220,7 @@ public: /// at 'More' optimization level. bool enablePostRAScheduler(CodeGenOpt::Level OptLevel) const { // FIXME: This causes llvm to miscompile itself on i386. :-( - return false/*OptLevel >= CodeGenOpt::Default*/; + return OptLevel >= CodeGenOpt::Default; } }; |