[llvm] [AMDGPU] Ignore inactive VGPRs in .vgpr_count (PR #133242)
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 2 05:16:57 PDT 2025
rovka wrote:
> > Skip implicit defs unconditionally
>
> I don't think it's safe to ignore all implicit def operands (but you can ignore the def operand of IMPLICIT_DEF). Do you need this to get the optimization you're hoping for? Is ignoring all use operands not enough?
The code was only ignoring IMPLICIT_DEF instructions, not implicit def operands :) Sorry about the confusing commit message.
https://github.com/llvm/llvm-project/pull/133242
More information about the llvm-commits
mailing list