This is guarding a check for isTypeLegal so it should check is
LegalTypes.
Fixes PR61111.
Paths
| Differential D145139
[DAGCombiner] Replace LegalOperations check in visitSIGN_EXTEND with LegalTypes. ClosedPublic Authored by craig.topper on Mar 1 2023, 8:12 PM.
Details Summary This is guarding a check for isTypeLegal so it should check is Fixes PR61111.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 2 2023, 2:04 AM Closed by commit rGc546f13f1f43: [DAGCombiner] Replace LegalOperations check in visitSIGN_EXTEND with LegalTypes. (authored by craig.topper). · Explain WhyMar 2 2023, 7:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 501873 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/pr61111.ll
|