[DAG] visitANY_EXTEND - add (aext (freeze (load x))) -> (aext (truncate (freeze (extload x)))) handling
Open
llvm:SelectionDAG
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
We already do this for SIGN_EXTEND/ZERO_EXTEND but we're still missing this for ANY_EXTEND cases.
https://github.com/llvm/llvm-project/blob/c49454104510b0ecc285d3ed78e5bcd9cf582fdf/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp#L16747-L16776
Contributor guide
Assessment
This issue has not been assessed yet.