[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:33 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:

Maintainers might be surprised if a change to the debug text wording causes a test failure here, for example.

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


More information about the llvm-commits mailing list