aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorMin-Yih Hsu <min.hsu@sifive.com>2024-12-26 09:09:02 -0800
committerGitHub <noreply@github.com>2024-12-26 09:09:02 -0800
commitd21f300f06d56a46e96d1e594522ab0ac362f074 (patch)
tree1da59d4f8d0ffaa0d62fa975425b233bb5c6338e /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent4a92c27f9d29d065156647f9bcc44a8418c98efa (diff)
downloadllvm-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