[llvm] [InstCombine] Iterative replacement in PtrReplacer (PR #137215)
Anshil Gandhi via llvm-commits
llvm-commits at lists.llvm.org
Thu May 15 09:27:28 PDT 2025
================
@@ -0,0 +1,82 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -mtriple=amdgcn-amd-amdhsa -passes=instcombine -S < %s | FileCheck %s
+
+; REQUIRES: asserts
----------------
gandhi56 wrote:
Good catch, there was an assertion failure which this PR fixes in the `replace(Inst)` method. It no longer applies because the RPO traversal.
https://github.com/llvm/llvm-project/pull/137215
More information about the llvm-commits
mailing list