[all-commits] [llvm/llvm-project] baf22a: [SelectionDAG] Handle vscale range wrapping in isK...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Jul 9 08:06:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baf22a527ca6571cdf5cd57c524a1fc261207947
      https://github.com/llvm/llvm-project/commit/baf22a527ca6571cdf5cd57c524a1fc261207947
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Handle vscale range wrapping in isKnownNeverZero

As pointed out by @preames, ConstantRange can wrap so it's possible
for zero to be in a range without zero being the minimum. This fixes
this by checking contains instead.



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