[llvm-branch-commits] [llvm] [EarlyIfCvt] Take branch probablities into consideration (PR #97808)
@@ -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; } + mgudim wrote: The default should be `false` https://github.com/llvm/llvm-project/pull/97808 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm] [EarlyIfCvt] Take branch probablities into consideration (PR #97808)
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 llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits