[PATCH] D116578: [LegalizeTypes] Remove IsVP argument from type legalization methods. NFC
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jan  3 23:54:21 PST 2022
    
    
  
craig.topper created this revision.
craig.topper added reviewers: frasercrmck, rogfer01, simoll, RKSimon.
Herald added a subscriber: hiraditya.
craig.topper requested review of this revision.
Herald added a project: LLVM.
We can either check the opcode or number of operands or use
ISD::isVPOpcode inside the methods.
      
In some places I've used number of operands figuring that it is
cheaper than isVPOpcode. I've included isVPOpcode in an assert to
verify.
https://reviews.llvm.org/D116578
Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116578.397208.patch
Type: text/x-patch
Size: 14742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220104/c48cc85b/attachment.bin>
    
    
More information about the llvm-commits
mailing list