[llvm] [GlobalIsel] Combine G_ADD and G_SUB with constants (PR #97771)

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 11:35:53 PDT 2024


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


aemerson wrote:

This is a common pattern and it's good if we can wholesale remove unnecessary optional checks across multiple combines by adding an API to do exactly what we want.

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


More information about the llvm-commits mailing list