mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Ignore options that are ""
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2181c0112f
commit
af43b64d12
@ -46,7 +46,7 @@ public:
|
||||
inline bool ignorablePass(const PassInfo *P) const {
|
||||
// Ignore non-selectable and non-constructible passes! Ignore
|
||||
// non-optimizations.
|
||||
return P->getPassArgument() == 0 ||
|
||||
return P->getPassArgument() == 0 || *P->getPassArgument() == 0 ||
|
||||
(P->getNormalCtor() == 0 && P->getDataCtor() == 0 &&
|
||||
P->getTargetCtor() == 0) ||
|
||||
ignorablePassImpl(P);
|
||||
|
Loading…
Reference in New Issue
Block a user