[PATCH] D133691: Move TargetTransformInfo::maxLegalDivRemBitWidth -> TargetLowering::maxSupportedDivRemBitWidth

Matthias Gehre via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 08:43:17 PDT 2022


mgehre-amd updated this revision to Diff 459472.
mgehre-amd added a comment.

Use a field instead of virtual functions


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133691

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/ExpandLargeDivRem.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/CodeGen/ExpandLargeDivRem.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.h
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h
  llvm/test/Transforms/ExpandLargeDivRem/sdiv129.ll
  llvm/test/Transforms/ExpandLargeDivRem/srem129.ll
  llvm/test/Transforms/ExpandLargeDivRem/udiv129.ll
  llvm/test/Transforms/ExpandLargeDivRem/urem129.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133691.459472.patch
Type: text/x-patch
Size: 14875 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220912/97bcb991/attachment.bin>


More information about the llvm-commits mailing list