[all-commits] [llvm/llvm-project] e1afd0: [NFC] Use TypeSize for comparison in EVT::isExtend...

Maciej Gabka via All-commits all-commits at lists.llvm.org
Thu Nov 23 07:44:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1afd0636366fe8789dc32bf5d0ca1eddc4d237b
      https://github.com/llvm/llvm-project/commit/e1afd0636366fe8789dc32bf5d0ca1eddc4d237b
  Author: Maciej Gabka <maciej.gabka at arm.com>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/ValueTypes.cpp
    M llvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp

  Log Message:
  -----------
  [NFC] Use TypeSize for comparison in EVT::isExtendedXBitVector functions (#73131)

The functions should not compare results of
getExtendedSizeInBits(), i.e TypeSize variables with plain integer values,
but create a fixed TypeSize object so the correct operator can be used.




More information about the All-commits mailing list