This removes CallSite from inliner files. Some dependencies where thus affected.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/SafeStack.cpp | ||
---|---|---|
324 | Shouldn't this be CallBase? Instruction::Call uses this code too. | |
707–709 | Use CallInst to match the only caller? | |
719–720 | I think this should be CI not CB since its CallInst not CallBase. | |
llvm/lib/Transforms/IPO/PartialInlining.cpp | ||
306–307 | Since you're here anyway, drop the else | |
307–311 | Drop this since it should be obviously unreachable without the elses? | |
769 | Why do we need this variable? | |
779–780 | Can we just use CB instead of *Call | |
llvm/lib/Transforms/Utils/InlineFunction.cpp | ||
1658–1659 | Drop this variable? |
small fixes
llvm/lib/CodeGen/SafeStack.cpp | ||
---|---|---|
346–348 | In this case, we needed ImmutableCallSite::arg_iterator -> auto because we don't want ImmutableCallSite |
Shouldn't this be CallBase? Instruction::Call uses this code too.