[PATCH] D133691: Move TargetTransformInfo::maxLegalDivRemBitWidth -> TargetLowering::maxSupportedDivRemBitWidth
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 06:45:35 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/TargetLowering.h:4579
+ /// codegen.
+ virtual unsigned maxSupportedDivRemBitWidth() const {
+ return llvm::IntegerType::MAX_INT_BITS;
----------------
Could just add another unsigned field similar to MaxAtomicSizeInBitsSupported rather than the hassle of a virtual
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133691/new/
https://reviews.llvm.org/D133691
More information about the llvm-commits
mailing list