[llvm] [Vectorizer] precommit test for miscompilation (PR #120731)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 05:50:10 PST 2024


================
@@ -0,0 +1,107 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
+; RUN: opt -passes=loop-vectorize -force-vector-width=4 -enable-vplan-native-path -S %s | FileCheck %s
----------------
fhahn wrote:

```suggestion
; RUN: opt -passes=loop-vectorize -force-vector-width=4 -S %s | FileCheck %s
```

no nested loops, so no the 'native' path isn't used.

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


More information about the llvm-commits mailing list