[PATCH] D89116: [SVE][AArch64] Replace TypeSize comparisons with their integer equivalents

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 04:25:39 PDT 2020


david-arm created this revision.
david-arm added reviewers: sdesmalen, ctetreau, kmclaughlin.
Herald added subscribers: llvm-commits, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
david-arm requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89116

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89116.297189.patch
Type: text/x-patch
Size: 6410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/76817c9d/attachment.bin>


More information about the llvm-commits mailing list