Files
clang-p2996/llvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
Simon Pilgrim 5b38ecff6e [DAG] BaseIndexOffset::equalBaseIndex - early out on failed matches. NFCI.
If we successfully cast only the first base node as GlobalAddressSDNode / ConstantPoolSDNode / FrameIndexSDNode then we can early out as we know that base won't cast as a later type.

Noticed while investigating profiles for potential compile time improvements.
2024-01-04 10:50:43 +00:00

12 KiB