[clang] [CIR][AArch64] Handle constrained Neon FMA and sqrt (PR #218307)
Andrzej WarzyĆski via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 10:59:08 PDT 2026
================
@@ -0,0 +1,75 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// RUN: %clang_cc1_cg_arm64_neon -target-cpu cyclone -emit-llvm %s -disable-O0-optnone | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefix=UNCONSTRAINED
+// RUN: %clang_cc1_cg_arm64_neon -target-cpu cyclone -ffp-exception-behavior=strict -emit-llvm %s -disable-O0-optnone | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefix=CONSTRAINED
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -fexperimental-strict-floating-point -ffp-exception-behavior=strict -fclangir -emit-llvm %s -disable-O0-optnone | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefix=LLVM --implicit-check-not=' @llvm.fma.' %}
----------------
banach-space wrote:
Why is one of these CONSTRAINED and he other is LLVM? Both output LLVM IR.
Is `-target-cpu cyclone` required?
https://github.com/llvm/llvm-project/pull/218307
More information about the cfe-commits
mailing list