This will be useful in other places in a follow up commit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It's a sketchy function to begin with, making a lot of assumptions about what a call looks like.
llvm/include/llvm/CodeGen/MachineInstr.h | ||
---|---|---|
876 | This doesn't check it's a call | |
llvm/lib/CodeGen/MachineInstr.cpp | ||
2383 | Preserve the braces | |
2385 | This also misses aliases, maybe it should just return the GlobalValue? |
This doesn't check it's a call