[llvm] [CodeGen] Teach ReplaceWithVeclib to use correct calling convention (PR #180773)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 11 03:23:04 PST 2026


================
@@ -778,6 +778,9 @@ define <vscale x 4 x float> @llvm_tanh_vscale_f32(<vscale x 4 x float> %in) #0 {
   ret <vscale x 4 x float> %1
 }
 
+declare aarch64_vector_pcs <4 x float> @armpl_vpowq_f32(<4 x float>, <4 x float>)
----------------
david-arm wrote:

Yeah. The alternative is to run the inject-tli-mappings pass just before this one, i.e. `opt -p inject-tli-mappings,replace-with-veclib`. I'm happy either way!

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


More information about the llvm-commits mailing list