mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-25 17:20:48 +00:00
Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182680 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -91,7 +91,7 @@ struct DomainValue {
|
||||
|
||||
// First domain available.
|
||||
unsigned getFirstDomain() const {
|
||||
return CountTrailingZeros_32(AvailableDomains);
|
||||
return countTrailingZeros(AvailableDomains);
|
||||
}
|
||||
|
||||
DomainValue() : Refs(0) { clear(); }
|
||||
@@ -564,7 +564,7 @@ void ExeDepsFix::visitSoftInstr(MachineInstr *mi, unsigned mask) {
|
||||
|
||||
// If the collapsed operands force a single domain, propagate the collapse.
|
||||
if (isPowerOf2_32(available)) {
|
||||
unsigned domain = CountTrailingZeros_32(available);
|
||||
unsigned domain = countTrailingZeros(available);
|
||||
TII->setExecutionDomain(mi, domain);
|
||||
visitHardInstr(mi, domain);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user