| Issue |
173770
|
| Summary |
[DAG] SDPatternMatch - add a m_SpecificNeg() matcher
|
| Labels |
good first issue,
llvm:SelectionDAG
|
| Assignees |
|
| Reporter |
RKSimon
|
As mentioned on #173581 - investigate adding a `m_SpecificNeg(SDValue V)` matcher to allow matching of both `m_Neg(m_Specific(V))` patterns as well as Constant/BuildVectorOfConstants cases where the negated constants match.
Requires unit test coverage in SelectionDAGPatternMatchTest.cpp
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs