[all-commits] [llvm/llvm-project] b7af28: [InstCombine] Add test for "or disjoint" miscompil...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Nov 30 07:23:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7af286a4e3e2e5464b95ddfca0ed793bb4aa8b9
      https://github.com/llvm/llvm-project/commit/b7af286a4e3e2e5464b95ddfca0ed793bb4aa8b9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/phi.ll

  Log Message:
  -----------
  [InstCombine] Add test for "or disjoint" miscompile (NFC)


  Commit: d8bc5465330474b80c02ca37e76a9a51245f1d79
      https://github.com/llvm/llvm-project/commit/d8bc5465330474b80c02ca37e76a9a51245f1d79
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
    M llvm/test/Transforms/InstCombine/phi.ll

  Log Message:
  -----------
  [InstCombine] Fix phi or icmp fold with disjoint flag

We're changing the operand of the or here, such that the disjoint
flag may no longer hold. Clear it.


Compare: https://github.com/llvm/llvm-project/compare/b8bbd5fe6f63...d8bc54653304


More information about the All-commits mailing list