[llvm] [SelectionDAG] Preserver poison for abs INT_MIN lowering (PR #183851)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 12:03:19 PST 2026


================
@@ -746,6 +746,10 @@ enum NodeType {
   /// is performed.
   ABS,
 
+  /// ABS with an undefined result for INT_MIN. This corresponds to
----------------
nikic wrote:

```suggestion
  /// ABS with a poison result for INT_MIN. This corresponds to
```

https://github.com/llvm/llvm-project/pull/183851


More information about the llvm-commits mailing list