mgudim wrote:
> [EarlyIfCvt] Take branch probablities into consideration
It looks like this MR is only adding a target hook, so this title doesn't make
sense to me
https://github.com/llvm/llvm-project/pull/97808
___
llvm-branch-commits mailing list
l
@@ -913,6 +913,10 @@ class TargetInstrInfo : public MCInstrInfo {
return false;
}
+ /// Return true if the target will always try to convert predictable branches
+ /// to selects.
+ virtual bool shouldConvertPredictableBranches() const { return true; }
+
-