When I try to extract a basic block using llvm-extract, it erroneously reports that the named basic block doesn't exist. After digging into the code, it appears to be iterating over an unmaterialized function, which will fail to match any basic blocks.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
llvm/tools/llvm-extract/llvm-extract.cpp | ||
---|---|---|
339 | It would be nice to have a comment here to explain why we verify the blocks here. |
It would be nice to have a comment here to explain why we verify the blocks here.