[llvm-branch-commits] [llvm] GlobalISel: Fix combine duplicating atomic loads (PR #111730)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 9 12:04:18 PDT 2024


arsenm wrote:

> Standard question: Could you add/extend a mir file for showing the different cases and should the erase be conditional on the type?

The type doesn't matter. The original load always has to be removed. This is only done for hasOneUse anyway 

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


More information about the llvm-branch-commits mailing list