[llvm] [ARM]Adjust cost of muls in SMLAL patterns (PR #122713)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 13 11:59:54 PDT 2025


================
@@ -0,0 +1,37 @@
+; RUN: opt -passes="print<cost-model>" 2>&1 -disable-output -mtriple thumbv8.1-m.main -mattr=+mve,+dsp  < %s | FileCheck %s
+define i64 @test(i16 %a, i16 %b) {
----------------
davemgreen wrote:

Can you update with update_analysis_test_checks? And maybe add a run line without +dsp to show the differences.

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


More information about the llvm-commits mailing list