[llvm] [VectorCombine] Fold vector.interleave2 with two constant splats (PR #125144)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 17:07:59 PST 2025


================
@@ -0,0 +1,14 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -mtriple=riscv64 -mattr=+v,+m,+zvfh %s -passes=vector-combine | FileCheck %s
+; RUN: opt -S -mtriple=riscv32 -mattr=+v,+m,+zvfh %s -passes=vector-combine | FileCheck %s
----------------
topperc wrote:

Add a test that uses Zve32x instead of V. We shouldn't form an i64 vector type in that case.

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


More information about the llvm-commits mailing list