mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-10 08:40:41 +00:00
[SeparateConstOffsetFromGEP] skip optnone functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a8ff726ba
commit
29bd1dd972
@ -998,6 +998,9 @@ bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) {
|
||||
}
|
||||
|
||||
bool SeparateConstOffsetFromGEP::runOnFunction(Function &F) {
|
||||
if (skipOptnoneFunction(F))
|
||||
return false;
|
||||
|
||||
if (DisableSeparateConstOffsetFromGEP)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user