[all-commits] [llvm/llvm-project] 3c5500: Revert "[InstCombine] fold cast of right-shift if ...

RotateRight via All-commits all-commits at lists.llvm.org
Fri Sep 24 07:47:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c5500907b1089f4b274b09a195ee0685d51f9e2
      https://github.com/llvm/llvm-project/commit/3c5500907b1089f4b274b09a195ee0685d51f9e2
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/trunc-demand.ll

  Log Message:
  -----------
  Revert "[InstCombine] fold cast of right-shift if high bits are not demanded (2nd try)"

This reverts commit bb9333c3504a4a02b982526ad8264d14c6ec1ad4.

This exposes another existing bug that causes an infinite loop as shown in
D110170
...so reverting while I look at another fix.




More information about the All-commits mailing list