[PATCH] D130076: [llvm/CodeGen] Enable the ExpandLargeDivRem pass for X86, Arm and AArch64
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 06:13:15 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfo.h:690-691
+ /// Returns the maximum bitwidth of legal div and rem instructions.
+ unsigned maxLegalDivRemBitWidth() const;
+
----------------
TargetTransformInfo isn't really the appropriate place to put something for a lowering decision. TargetLowering would make more sense
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130076/new/
https://reviews.llvm.org/D130076
More information about the llvm-commits
mailing list