[llvm] [LV] Remove DataAndControlFlowWithoutRuntimeCheck. NFC (PR #183762)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 2 04:25:47 PST 2026
================
@@ -1327,11 +1324,10 @@ class LoopVectorizationCostModel {
}
/// Returns the TailFoldingStyle that is best for the current loop.
- TailFoldingStyle getTailFoldingStyle(bool IVUpdateMayOverflow = true) const {
+ TailFoldingStyle getTailFoldingStyle() const {
if (!ChosenTailFoldingStyle)
return TailFoldingStyle::None;
- return IVUpdateMayOverflow ? ChosenTailFoldingStyle->first
- : ChosenTailFoldingStyle->second;
+ return *ChosenTailFoldingStyle;
----------------
lukel97 wrote:
Thanks, done in 31f4c5baf98c55a9632a08eb2e7b57e64aaeaf66
https://github.com/llvm/llvm-project/pull/183762
More information about the llvm-commits
mailing list