[clang] [AArch64][SVE] Fold svrev(svrev(v)) to v (PR #116422)

2024-11-15 Thread Jorge Botto via cfe-commits
https://github.com/jf-botto created https://github.com/llvm/llvm-project/pull/116422 This PR follows the approach specified in https://github.com/llvm/llvm-project/issues/110444#issuecomment-2391540986 by making clang emit `llvm.vector.reverse` instead of `llvm.aarch64.sve.rev`, meaning instc

[clang] [AArch64][SVE] Fold svrev(svrev(v)) to v (PR #116422)

2025-01-18 Thread Jorge Botto via cfe-commits
https://github.com/jf-botto ready_for_review https://github.com/llvm/llvm-project/pull/116422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AArch64][SVE] Fold svrev(svrev(v)) to v (PR #116422)

2025-01-18 Thread Jorge Botto via cfe-commits
https://github.com/jf-botto updated https://github.com/llvm/llvm-project/pull/116422 >From fdd0495d57ea7f59ba201b2b570d05d1ed144c99 Mon Sep 17 00:00:00 2001 From: Jorge Botto Date: Fri, 15 Nov 2024 18:56:54 + Subject: [PATCH] Making Clang emit llvm.vector.reverse instead of llvm.aarch64.sv

[clang] [AArch64][SVE] Fold svrev(svrev(v)) to v (PR #116422)

2025-01-18 Thread Jorge Botto via cfe-commits
jf-botto wrote: Sorry @MacDue, just wanted to check a few things before removing draft status. https://github.com/llvm/llvm-project/pull/116422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[clang] [AArch64][SVE] Fold svrev(svrev(v)) to v (PR #116422)

2025-01-18 Thread Jorge Botto via cfe-commits
jf-botto wrote: @sdesmalen-arm fyi https://github.com/llvm/llvm-project/pull/116422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Arch64][SVE] Lower svrev_* to llvm.vector.reverse (PR #116422)

2025-01-20 Thread Jorge Botto via cfe-commits
https://github.com/jf-botto edited https://github.com/llvm/llvm-project/pull/116422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Arch64][SVE] Lower svrev_* to llvm.vector.reverse and fold svrev(svrev(x)) -> x (PR #116422)

2025-02-12 Thread Jorge Botto via cfe-commits
https://github.com/jf-botto edited https://github.com/llvm/llvm-project/pull/116422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Arch64][SVE] Lower svrev_* to llvm.vector.reverse and fold svrev(svrev(x)) -> x (PR #116422)

2025-02-12 Thread Jorge Botto via cfe-commits
https://github.com/jf-botto edited https://github.com/llvm/llvm-project/pull/116422 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Arch64][SVE] Lower svrev_* to llvm.vector.reverse (PR #116422)

2025-02-09 Thread Jorge Botto via cfe-commits
https://github.com/jf-botto updated https://github.com/llvm/llvm-project/pull/116422 >From 75cc7d90fa8a7f0cde0df969577556ac1098256b Mon Sep 17 00:00:00 2001 From: Jorge Botto Date: Fri, 15 Nov 2024 18:56:54 + Subject: [PATCH 1/4] Making Clang emit llvm.vector.reverse instead of llvm.aarch6

[clang] [llvm] [Arch64][SVE] Lower svrev_* to llvm.vector.reverse (PR #116422)

2025-02-09 Thread Jorge Botto via cfe-commits
@@ -1060,7 +1060,7 @@ let SVETargetGuard = "sve,bf16", SMETargetGuard = "sme,bf16" in { def SVEXT: SInst<"svext[_{d}]", "dddi", "csilUcUsUiUlhfd", MergeNone, "aarch64_sve_ext", [VerifyRuntimeMode], [ImmCheck<2, ImmCheckExtract, 1>]>; defm SVLASTA : SVEPerm<"