diff options
author | Min-Yih Hsu <min.hsu@sifive.com> | 2024-12-26 09:09:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-26 09:09:02 -0800 |
commit | d21f300f06d56a46e96d1e594522ab0ac362f074 (patch) | |
tree | 1da59d4f8d0ffaa0d62fa975425b233bb5c6338e /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 4a92c27f9d29d065156647f9bcc44a8418c98efa (diff) | |
download | llvm-d21f300f06d56a46e96d1e594522ab0ac362f074.zip llvm-d21f300f06d56a46e96d1e594522ab0ac362f074.tar.gz llvm-d21f300f06d56a46e96d1e594522ab0ac362f074.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions