This is a small code refactor for LegalizeOp. LOAD/STORE can also use the common logic.
This is based on the typo fix patch D115637
| Paths 
 |  Differential  D115636  
[LegalizeVectorOps] code refactor for LegalizeOp - NFC ClosedPublic Authored by shchenz on Dec 13 2021, 7:06 AM. 
Details Summary This is a small code refactor for LegalizeOp. LOAD/STORE can also use the common logic. This is based on the typo fix patch D115637 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Dec 13 2021, 5:29 PM This revision was landed with ongoing or failed builds.Dec 13 2021, 7:59 PM Closed by commit rG062d9b7d43a7: [LegalizeVectorOps] code refactor for LegalizeOp; NFC (authored by shchenz).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 394123 llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This can reuse ExtType.