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

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 14:30:08 PDT 2022


aemerson created this revision.
aemerson added reviewers: arsenm, paquette, foad.
aemerson added a project: LLVM.
Herald added subscribers: hiraditya, rovka.
Herald added a project: All.
aemerson requested review of this revision.
Herald added a subscriber: wdng.

This port of the SDAG optimization is only for exact sdiv case.


Repository:
  rG LLVM Github Monorepo

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/test/CodeGen/AArch64/GlobalISel/combine-sdiv.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130517.447472.patch
Type: text/x-patch
Size: 9362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220725/9f73bcbc/attachment.bin>


More information about the llvm-commits mailing list