llvm-project
d21f300f - [MIPatternMatch] Fix incorrect argument type of m_Type (#121074)

Commit
277 days ago
[MIPatternMatch] Fix incorrect argument type of m_Type (#121074) m_Type is supposed to extract the underlying value type (equality type comparison is covered by m_SpecificType), therefore it should take a LLT reference as its argument rather than passing by value. This was originated from de256478e61d6488db751689af82d280ba114a6f, which refactored out a good chunk of LLT reference usages. And it's just so happen that (for some reasons) no one is using m_Type and no test was covering it.
Author
Parents
Loading