[PATCH] D91726: [LoopIdiom] 'left-shift until bittest' idiom: support canonical sign bit mask

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 12:59:56 PST 2020


lebedev.ri added a comment.

In D91726#2475308 <https://reviews.llvm.org/D91726#2475308>, @lebedev.ri wrote:

> In D91726#2475301 <https://reviews.llvm.org/D91726#2475301>, @pcc wrote:
>
>> Sure, here is the .ll file.
>> F14882187: test2.ll <https://reviews.llvm.org/F14882187>
>> Reproduces with `opt -O2 -S test2.ll`.
>
> Thank you, i can reproduce now.
> This appears to be a very dumb mistake of forgetting to check the basic block of the PHI node, will fixup in a moment.

Fixed in 51879a525649c8151f7e841b66a5cea0e1c8e74e <https://reviews.llvm.org/rG51879a525649c8151f7e841b66a5cea0e1c8e74e>, thank you for the reproducer!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91726



More information about the llvm-commits mailing list