[llvm] [LV] Remove DataAndControlFlowWithoutRuntimeCheck. NFC (PR #183762)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 02:04:28 PST 2026


================
@@ -1393,8 +1382,7 @@ class LoopVectorizationCostModel {
       return false;
 
     TailFoldingStyle TF = getTailFoldingStyle();
-    return TF == TailFoldingStyle::DataAndControlFlow ||
-           TF == TailFoldingStyle::DataAndControlFlowWithoutRuntimeCheck;
+    return TF == TailFoldingStyle::DataAndControlFlow;
----------------
david-arm wrote:

nit: I think you can just do

```
  return getTailFoldingStyle() != TailFoldingStyle::DataAndControlFlow;
```

https://github.com/llvm/llvm-project/pull/183762


More information about the llvm-commits mailing list