[all-commits] [llvm/llvm-project] 0bd0d7: [InstCombine] Add test for zext nneg miscompile (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Nov 9 02:58:21 PST 2023


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

  Changed paths:
    M llvm/test/Transforms/InstCombine/assoc-cast-assoc.ll

  Log Message:
  -----------
  [InstCombine] Add test for zext nneg miscompile (NFC)

Exposed by https://github.com/llvm/llvm-project/pull/71534 and
reported there.


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/assoc-cast-assoc.ll

  Log Message:
  -----------
  [InstCombine] Drop poison flags in simplifyAssocCastAssoc()

The nneg flag on zext may no longer hold after the reassociation.


Compare: https://github.com/llvm/llvm-project/compare/c51a8968a410...1b1c81772fe5


More information about the All-commits mailing list