[PATCH] D75652: Remove CompositeType

Christopher Tetreault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 15:11:42 PST 2020


ctetreau created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Since there exists only one subclass of CompositeType that is not also a
subclass of Type, we can eliminate CompositeType and move it's functions
into StructType. This simplifies the VectorType inheritance hierarchy
enabling us to more easily refactor VectorType


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75652

Files:
  llvm/include/llvm/IR/Constants.h
  llvm/include/llvm/IR/DerivedTypes.h
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/CodeGen/Analysis.cpp
  llvm/lib/FuzzMutate/Operations.cpp
  llvm/lib/IR/ConstantFold.cpp
  llvm/lib/IR/Constants.cpp
  llvm/lib/IR/Instructions.cpp
  llvm/lib/IR/Type.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/lib/Transforms/IPO/StripSymbols.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75652.248335.patch
Type: text/x-patch
Size: 22751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200304/98dc1b05/attachment.bin>


More information about the llvm-commits mailing list