[PATCH] D87700: [SVE] Replace / operator in TypeSize/ElementCount with coefficientDiv

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 08:01:44 PDT 2020


david-arm updated this revision to Diff 294064.
david-arm edited the summary of this revision.
david-arm added a comment.

- Introduced a new halve() function to replace the common case of coefficientDiv(2).
- Updated the comments about isKnownMultipleOf.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87700/new/

https://reviews.llvm.org/D87700

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  llvm/include/llvm/CodeGen/ValueTypes.h
  llvm/include/llvm/IR/DerivedTypes.h
  llvm/include/llvm/Support/MachineValueType.h
  llvm/include/llvm/Support/TypeSize.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp
  llvm/unittests/IR/VectorTypesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87700.294064.patch
Type: text/x-patch
Size: 15758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200924/b6a1af0f/attachment.bin>


More information about the llvm-commits mailing list