[all-commits] [llvm/llvm-project] 492c47: [InstCombine] Handle logical op in simplifyRangeCh...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Dec 13 00:51:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 492c471839a66e354ebe696bd3e15f7477c63613
      https://github.com/llvm/llvm-project/commit/492c471839a66e354ebe696bd3e15f7477c63613
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/test/Transforms/InstCombine/pr49688.ll
    M llvm/test/Transforms/InstCombine/range-check.ll

  Log Message:
  -----------
  [InstCombine] Handle logical op in simplifyRangeCheck() (PR59484)

We need to freeze to avoid propagating a potentially poison
upper bound (https://alive2.llvm.org/ce/z/MsD38k).

This resolves the existing TODO in the code.

Fixes https://github.com/llvm/llvm-project/issues/59484.




More information about the All-commits mailing list