[all-commits] [llvm/llvm-project] 4a2a6a: [ValueTracking] Try to infer range of select from ...

Mikhail Gudim via All-commits all-commits at lists.llvm.org
Thu Oct 5 10:23:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a2a6a4111035b4ccd0dce9e6445006f003b88e3
      https://github.com/llvm/llvm-project/commit/4a2a6a4111035b4ccd0dce9e6445006f003b88e3
  Author: Mikhail Gudim <mgudim at gmail.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Analysis/BasicAA/range.ll
    M llvm/test/Transforms/InstCombine/binop-select.ll

  Log Message:
  -----------
  [ValueTracking] Try to infer range of select from true and false values. (#68256)

When computing range of `select` instruction, first compute the union of
ranges of "True" and "False" operands of the `select` instruction.




More information about the All-commits mailing list