git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225080
91177308-0d34-0410-b5e6-
96231b3b80d8
}
bool X86TargetLowering::isCheapToSpeculateCttz() const {
- // Don't try to speculate cttz if we can't directly use TZCNT.
+ // Speculate cttz only if we can directly use TZCNT.
return Subtarget->hasBMI();
}
bool X86TargetLowering::isCheapToSpeculateCtlz() const {
- // Don't try to speculate ctlz if we can't directly use LZCNT.
+ // Speculate ctlz only if we can directly use LZCNT.
return Subtarget->hasLZCNT();
}