[PATCH] D94015: [LoopIdiom] Replace cttz loop by call to cttz intrinsic.

Francis laniel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 02:20:52 PST 2021


eiffel updated this revision to Diff 314542.
eiffel added a comment.

Add a check in recognizeAndReplaceCTZ to test that CurLoop has one UniqueExitBlock.
This should correct the check-all failed test.


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

https://reviews.llvm.org/D94015

Files:
  llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  llvm/test/Transforms/LoopIdiom/cttz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94015.314542.patch
Type: text/x-patch
Size: 9697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210105/699ee341/attachment.bin>


More information about the llvm-commits mailing list