[llvm] [AArch64] Add MATCH loops to LoopIdiomVectorizePass (PR #101976)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 08:26:45 PST 2024


================
@@ -0,0 +1,123 @@
+; RUN: opt -mattr=+sve2 -mtriple=aarch64 -passes='loop(loop-idiom-vectorize)' -S < %s | FileCheck -check-prefix=SVE2 %s
+; RUN: opt -mattr=-sve2 -mtriple=aarch64 -passes='loop(loop-idiom-vectorize)' -S < %s | FileCheck -check-prefix=NOSVE2 %s
+
----------------
sjoerdmeijer wrote:

You may want to add `-verify-dom-info` and `-verify-loop-info` to the opt options. 

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


More information about the llvm-commits mailing list