[llvm] [AMDGPU] Disable dpp src1 sgpr on gfx11 (PR #164241)

Paul Trojahn via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 06:28:58 PDT 2026


================

----------------
ptrojahn wrote:

I added the check directly to isLegalRegOperand now. I think dpp combine should already have coverage, but I renamed the label to make it clearer what is being checked here. This also uncovered another case in existing list tests where an sgpr is being incorrectly folded right now. I added a separate test for si-fold-operands to cover these cases. These mir tests all seems to use numbers for registers, so I stuck to that convention.

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


More information about the llvm-commits mailing list