[llvm] [AArch64] Match vector neg(and X, 1) as CMTST (PR #194833)

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 11:44:18 PDT 2026


================
@@ -0,0 +1,61 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=aarch64-none-linux-gnu -mattr=+neon -verify-machineinstrs < %s | FileCheck %s
+
+define <16 x i8> @neg_and_one_v16i8(<16 x i8> %x) {
----------------
davemgreen wrote:

Can you add tests for all type sizes?

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


More information about the llvm-commits mailing list