[llvm] [GlobalIsel] Combine G_ADD and G_SUB (PR #92879)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 05:20:04 PDT 2024


Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/92879 at github.com>


arsenm wrote:

> There are no hasOneUse checks in the dag. We would need to jump into C++ for the checks.

We should have that? Arguably hasOneUse should be the default behavior for these patterns, you should need to do something to declare another use is OK 

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


More information about the llvm-commits mailing list