[llvm] [GISel][CombinerHelper] Combine and(trunc(x), trunc(y)) -> trunc(and(x, y)) (PR #89023)

Dhruv Chawla via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 19:13:01 PDT 2024


dc03-work wrote:

I have moved the code to `matchHoistLogicOpWithSameOpcodeHands`. I think the patch makes more sense now, though I am not sure how to check if a given LLT will fit within one register or not.

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


More information about the llvm-commits mailing list