[llvm] [AArch64][SVE2] Generate SVE2 BSL instruction in LLVM for bit-twiddling. (PR #83514)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 01:53:34 PST 2024


================
@@ -0,0 +1,21 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=aarch64-unknown-linux-gnu -mattr=+sve2 < %s | FileCheck %s --check-prefixes=CHECK
+
+define void @bsl(ptr %ptr1, ptr %ptr2, ptr %ptr3) {
----------------
sdesmalen-arm wrote:

Can you also add a negative test?

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


More information about the llvm-commits mailing list