mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
61d6dc41fa
It turns out, all callsites of the simplifier are guarded by a check for CallInst::getCalledFunction (i.e., to make sure the callee is direct). This check wasn't done when trying to further optimize a simplified fortified libcall, introduced by a refactoring in r225640. Fix that, add a testcase, and document the requirement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225895 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
ASanStackFrameLayout.h | ||
BasicBlockUtils.h | ||
BuildLibCalls.h | ||
BypassSlowDivision.h | ||
Cloning.h | ||
CmpInstAnalysis.h | ||
CodeExtractor.h | ||
CtorUtils.h | ||
GlobalStatus.h | ||
IntegerDivision.h | ||
Local.h | ||
LoopUtils.h | ||
ModuleUtils.h | ||
PromoteMemToReg.h | ||
SimplifyIndVar.h | ||
SimplifyLibCalls.h | ||
SSAUpdater.h | ||
SSAUpdaterImpl.h | ||
SymbolRewriter.h | ||
UnifyFunctionExitNodes.h | ||
UnrollLoop.h | ||
ValueMapper.h | ||
VectorUtils.h |