diff options
author | Florian Hahn <flo@fhahn.com> | 2024-10-17 05:31:28 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-10-17 05:31:29 +0100 |
commit | 81bbe19383797d5daaa5ddd16a47cd6ff44b66e2 (patch) | |
tree | cdd98ba01a7d7beb550e1cc1212b0401a3757e06 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 4512bbe7467c1c0f884304e5654d1070df58d6f8 (diff) | |
download | llvm-81bbe19383797d5daaa5ddd16a47cd6ff44b66e2.zip llvm-81bbe19383797d5daaa5ddd16a47cd6ff44b66e2.tar.gz llvm-81bbe19383797d5daaa5ddd16a47cd6ff44b66e2.tar.bz2 |
[VPlan] Add VPSingleDefRecipe::dump() to resolve ambigous lookup (NFC).
This allows calling ::dump() on various sub-classes of VPSingleDefRecipe
directly, as it resolves an ambigous name lookup.
Previously, calling VPWidenRecipe::dump() (and others), would result in
the following errors:
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp:1284:19: error: member 'dump' found in multiple base classes of different types
1284 | WidenR->dump();
| ^
llvm/include/../lib/Transforms/Vectorize/VPlanValue.h:434:8: note: member found by ambiguous name lookup
434 | void dump() const;
| ^
llvm/include/../lib/Transforms/Vectorize/VPlanValue.h:108:8: note: member found by ambiguous name lookup
108 | void dump() const;
| ^
1 error generated.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions