llvm / llvm/llvm-project

[DAG] visitANY_EXTEND - add (aext (freeze (load x))) -> (aext (truncate (freeze (extload x)))) handling

Open
#217,383 3 comments 0 reactions 1 assignee Claimed by @VachanVY View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.