[llvm] [GlobalIsel] Combine zext of trunc (episode II) (PR #108305)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 20 15:43:37 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>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/108305 at github.com>


arsenm wrote:

> The first combine used `Helper.replaceSingleDefInstWithReg` and ran on the `AMDGPURegBankCombiner`. I prefer the lambda matchinfo, which cannot run after regbank select. Now, I enabled both.

I'm confused. Is there now the zext (trunc) -> and fold implemented somewhere else? 

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


More information about the llvm-commits mailing list