[llvm] [AMDGPU] Propagate demanded bits through RET_GLUE in performDAGCombine (PR #191031)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 13:45:04 PDT 2026


https://github.com/arsenm commented:

I think this is going beyond what #128390 calls for. This is fixing up an artifact of ABI lowering, but I'm not sure this is the right place for it. A combine like this shouldn't really need to look at the underlying IR signature, and reverse engineer how the return was lowered. I'm not sure what the right place to handle this would be, but this doesn't seem like it. The analogous case for the argument values is the Assert* nodes; we don't have an analog for demanded uses 

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


More information about the llvm-commits mailing list