[all-commits] [llvm/llvm-project] d8b268: [InstCombine] prevent infinite looping in or-icmp ...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Jul 15 11:12:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d8b268680d0858aaf30cb1a278b64b11361bc780
      https://github.com/llvm/llvm-project/commit/d8b268680d0858aaf30cb1a278b64b11361bc780
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/or.ll

  Log Message:
  -----------
  [InstCombine] prevent infinite looping in or-icmp fold (PR46712)

I'm not sure if the test is truly minimal, but we need to
induce a situation where a value becomes a constant but is
not immediately folded before getting to the 'or' transform.




More information about the All-commits mailing list