[llvm] [SelectionDAG] Add m_Neg and m_Not pattern matcher and update DAGCombiner (PR #85365)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 22:58:51 PDT 2024


================
@@ -705,6 +705,18 @@ inline auto m_False() {
       },
       m_Value()};
 }
+
+/// Match a negtive as a sub(0, v)
----------------
arsenm wrote:

```suggestion
/// Match a negate as a sub(0, v)
```

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


More information about the llvm-commits mailing list