[all-commits] [llvm/llvm-project] d67d8f: [SVE][AArch64] Replace TypeSize comparisons with t...

david-arm via All-commits all-commits at lists.llvm.org
Mon Oct 19 00:07:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d67d8f879027ef401d22cc71b07a77b882d53376
      https://github.com/llvm/llvm-project/commit/d67d8f879027ef401d22cc71b07a77b882d53376
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

  Log Message:
  -----------
  [SVE][AArch64] Replace TypeSize comparisons with their integer equivalents

In many places in the AArch64 backend we are comparing TypeSize objects,
but in fact we are only ever expecting fixed width types. I've changed
all such comparisons to use their integer equivalents by replacing
calls to getSizeInBits() with getFixedSizeInBits(), etc.

Differential Revision: https://reviews.llvm.org/D89116




More information about the All-commits mailing list