[PATCH] D91038: [LoopIdiom] Introduce 'left-shift until bittest' idiom

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 04:40:09 PST 2020


lebedev.ri updated this revision to Diff 309874.
lebedev.ri added a comment.

Rebased. Small tidyups.

Originally, i allowed the wrong instruction to liveout - in my motivational example
i need `%x.next` to liveout, but i allowed only %x.curr.
So let's just allow both of them to liveout.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91038

Files:
  llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91038.309874.patch
Type: text/x-patch
Size: 58135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201207/7cbd9628/attachment-0001.bin>


More information about the llvm-commits mailing list