[all-commits] [llvm/llvm-project] 7aafd1: [CVP] Add tests for mask not equal zero guard (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 1 14:09:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7aafd104bfb8b2f676d9cb56dc176118260e5114
      https://github.com/llvm/llvm-project/commit/7aafd104bfb8b2f676d9cb56dc176118260e5114
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-01 (Sat, 01 May 2021)

  Changed paths:
    M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll

  Log Message:
  -----------
  [CVP] Add tests for mask not equal zero guard (NFC)


  Commit: db9d00c5e7b02b5fe77cb8f3c7c40405c5f1222a
      https://github.com/llvm/llvm-project/commit/db9d00c5e7b02b5fe77cb8f3c7c40405c5f1222a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-05-01 (Sat, 01 May 2021)

  Changed paths:
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll

  Log Message:
  -----------
  [LVI] Handle mask not equal zero conditions

If V & Mask != 0, we know that at least one of the bits in Mask
must be set, so the value must be >= the lowest bit in Mask.


Compare: https://github.com/llvm/llvm-project/compare/db457e64794c...db9d00c5e7b0


More information about the All-commits mailing list