[PATCH] D89101: [SVE][NFC] Replace some TypeSize comparisons in non-AArch64 Targets

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 01:32:38 PDT 2020


david-arm created this revision.
david-arm added reviewers: sdesmalen, efriedma, c-rhodes.
Herald added subscribers: llvm-commits, kerbowa, psnobl, atanasyan, jrtc27, fedor.sergeev, kbarton, hiraditya, kristof.beyls, tschuett, nhaehnle, jvesely, nemanjai, sdardis, jyknight, arsenm, jholewinski.
Herald added a project: LLVM.
david-arm requested review of this revision.

In most of lib/Target we know that we are not dealing with scalable
types so it's perfectly fine to replace TypeSize comparison operators
with their fixed width equivalents, making use of getFixedSize()
and so on.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89101

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  llvm/lib/Target/ARM/ARMCallLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
  llvm/lib/Target/Mips/MipsCallLowering.cpp
  llvm/lib/Target/Mips/MipsISelLowering.cpp
  llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/Sparc/SparcISelLowering.cpp
  llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
  llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89101.297144.patch
Type: text/x-patch
Size: 17097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/e12b00ad/attachment.bin>


More information about the llvm-commits mailing list