[llvm] [DAG] getNode - fold (sext (trunc x)) -> x iff the upper bits are already signbits (PR #151945)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 06:26:27 PDT 2025
RKSimon wrote:
The fold often fails if the trunc gets folded further up the dag chain before the sext combines are called - it gets even worse in some of the topological sorting work I'm currently investigating.
https://github.com/llvm/llvm-project/pull/151945
More information about the llvm-commits
mailing list