[llvm] [AArch64] Fix #94909: Optimize vector fmul(sitofp(x), 0.5) -> scvtf(x, 2) (PR #141480)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 14:52:16 PDT 2025


================
@@ -0,0 +1,71 @@
+; RUN: llc -mtriple=aarch64-linux-gnu -aarch64-neon-syntax=apple -mattr=+fullfp16 -o - %s | FileCheck %s
----------------
davemgreen wrote:

The test can go in llvm/test/CodeGen/AArch64, and the update_llc_test_checks.py script is useful for auto-generating the CHECK lines, so long as they look correct.

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


More information about the llvm-commits mailing list