[PATCH] D99427: [LoopIdiomRecognize] Teach CTLZ/CTTZ idiom recognition to handle not being able to find a pre-loop check for the input being 0.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 28 12:15:22 PDT 2021


craig.topper updated this revision to Diff 333734.
craig.topper added a comment.

Add phase ordering test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99427

Files:
  llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  llvm/test/Transforms/LoopIdiom/X86/ctlz.ll
  llvm/test/Transforms/PhaseOrdering/X86/ctlz-loop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99427.333734.patch
Type: text/x-patch
Size: 12971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210328/cf4a2181/attachment.bin>


More information about the llvm-commits mailing list