mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Pacify bots and simplify r220321
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6961f286b
commit
2d20cb2892
@ -693,7 +693,7 @@ FunctionPass *TargetPassConfig::createRegAllocPass(bool Optimized) {
|
||||
/// Return true if the default global register allocator is in use and
|
||||
/// has not be overriden on the command line with '-regalloc=...'
|
||||
bool TargetPassConfig::usingDefaultRegAlloc() const {
|
||||
return RegAlloc == &useDefaultRegisterAllocator;
|
||||
return RegAlloc.getNumOccurrences() == 0;
|
||||
}
|
||||
|
||||
/// Add the minimum set of target-independent passes that are required for
|
||||
|
Loading…
Reference in New Issue
Block a user