[all-commits] [llvm/llvm-project] ea096c: [SDAG] Remove noundef workaround for range metadat...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri May 30 01:57:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea096c98ae2c88ce9ba879be832caa8b254a348a
      https://github.com/llvm/llvm-project/commit/ea096c98ae2c88ce9ba879be832caa8b254a348a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/AArch64/lower-range-metadata-func-call.ll
    M llvm/test/CodeGen/X86/pr37063.ll

  Log Message:
  -----------
  [SDAG] Remove noundef workaround for range metadata/attributes (#141745)

In https://reviews.llvm.org/D157685 I changed SDAG to only transfer
range metadata to SDAG if it also has !noundef. At the time, this was
necessary because SDAG incorrectly propagated poison when folding
logical and/or to bitwise and/or.

The root cause of that issue has since been addressed by
https://github.com/llvm/llvm-project/pull/84924, so drop the workaround
now.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list