[llvm] [CVP] Replace constant call args with known-equal function params (PR #196715)
Aayush Shrivastava via llvm-commits
llvm-commits at lists.llvm.org
Sat May 9 06:58:45 PDT 2026
iamaayushrivastava wrote:
> This is obviously not a sensible transform to perform in the middle-end.
Thanks for the feedback! Could you point me in the right direction? Is the right fix in the SelectionDAG call lowering (when materializing call arguments, check if the target register already holds the needed constant via LivePhysRegs or similar) or is there an existing X86 backend pass that should handle this?
Happy to rework on the correct approach.
https://github.com/llvm/llvm-project/pull/196715
More information about the llvm-commits
mailing list