[PATCH] D156610: [WIP][LSR] Transform div instruction to add in loop

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 30 18:37:54 PDT 2023


LuoYuanke updated this revision to Diff 545497.
LuoYuanke added a comment.

Check if div is legal for target. If it is legal, drop the transform.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156610

Files:
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/Transforms/LoopStrengthReduce/div.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156610.545497.patch
Type: text/x-patch
Size: 9853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230731/12e42a64/attachment.bin>


More information about the llvm-commits mailing list