[PATCH] D126644: [llvm/CodeGen] Add ExpandLargeDivRem pass

Matthias Gehre via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 03:45:31 PDT 2022


mgehre-amd updated this revision to Diff 437840.
mgehre-amd marked 4 inline comments as done.
mgehre-amd added a comment.

Use IntegerDivison.cpp
Do not emit separate functions
Turn into FunctionPass


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126644

Files:
  llvm/include/llvm/CodeGen/ExpandLargeDivRem.h
  llvm/include/llvm/CodeGen/MachinePassRegistry.def
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/InitializePasses.h
  llvm/include/llvm/LinkAllPasses.h
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/CodeGen.cpp
  llvm/lib/CodeGen/ExpandLargeDivRem.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/lib/Transforms/Utils/IntegerDivision.cpp
  llvm/test/CodeGen/AArch64/O0-pipeline.ll
  llvm/test/CodeGen/AArch64/O3-pipeline.ll
  llvm/test/CodeGen/AArch64/udivmodei5.ll
  llvm/test/CodeGen/ARM/O3-pipeline.ll
  llvm/test/CodeGen/X86/O0-pipeline.ll
  llvm/test/CodeGen/X86/opt-pipeline.ll
  llvm/test/CodeGen/X86/udivmodei5.ll
  llvm/test/CodeGen/X86/urem-seteq.ll
  llvm/test/Transforms/ExpandLargeDivRem/sdiv129.ll
  llvm/test/Transforms/ExpandLargeDivRem/srem129.ll
  llvm/test/Transforms/ExpandLargeDivRem/udiv129.ll
  llvm/test/Transforms/ExpandLargeDivRem/urem129.ll
  llvm/test/Transforms/ExpandLargeDivRem/values129.ll
  llvm/tools/opt/opt.cpp



More information about the llvm-commits mailing list