[llvm] [DebugInfo][NaryReassociate] Fix missing debug location updates (PR #92545)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 06:47:46 PDT 2024
================
@@ -0,0 +1,65 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt < %s -passes=nary-reassociate -S | FileCheck %s
+
----------------
OCHyams wrote:
```suggestion
; Test that NaryReassociate's tryReassociatedBinaryOp() propagates the
; debug location to new `add` and `mul` from the original binary operator
; they replaced (`%3` in both `@add_reassociate` and `@mul_reassociate`).
```
Can you please re-add your comment?
https://github.com/llvm/llvm-project/pull/92545
More information about the llvm-commits
mailing list