[PATCH] D130517: [GlobalISel] Add sdiv exact (X, constant) -> mul combine.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 21:19:04 PDT 2022


aemerson updated this revision to Diff 447927.
aemerson added a comment.

Address comments, add test for non-splat and splat vector cases.

Fix a needed util function not having the right symbol name.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130517

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-sdiv.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130517.447927.patch
Type: text/x-patch
Size: 11535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220727/cf75520a/attachment.bin>


More information about the llvm-commits mailing list