[llvm] [HEXAGON] AddrModeOpt support for HVX and optmize adds (PR #106368)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 08:03:23 PDT 2024


================
@@ -0,0 +1,232 @@
+# It is not safe to make the transformation if the definition is killed by a call.
+# Use debug output for simplicity and test resilience.
+#
+# RUN: llc -march=hexagon -run-pass amode-opt %s -debug -o  %t_1.mir 2>&1 | FileCheck %s
+#CHECK: The LRExtReg reg {{.*}} is NOT live in to MBB
----------------
androm3da wrote:

Does `-passes='print<live-vars>'` provide a more specific/stable matching opportunity versus the debug output?

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


More information about the llvm-commits mailing list