llvm-6502/include/llvm/Transforms/Utils
Ahmed Bougacha 61d6dc41fa [SimplifyLibCalls] Don't try to simplify indirect calls.
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
2015-01-14 00:55:05 +00:00
..
ASanStackFrameLayout.h
BasicBlockUtils.h
BuildLibCalls.h [SimplifyLibCalls] Factor out fortified libcall handling. 2015-01-12 17:22:43 +00:00
BypassSlowDivision.h
Cloning.h [PM] Split the AssumptionTracker immutable pass into two separate APIs: 2015-01-04 12:03:27 +00:00
CmpInstAnalysis.h
CodeExtractor.h
CtorUtils.h
GlobalStatus.h
IntegerDivision.h
Local.h [PM] Split the AssumptionTracker immutable pass into two separate APIs: 2015-01-04 12:03:27 +00:00
LoopUtils.h [PM] Split the AssumptionTracker immutable pass into two separate APIs: 2015-01-04 12:03:27 +00:00
ModuleUtils.h
PromoteMemToReg.h [PM] Split the AssumptionTracker immutable pass into two separate APIs: 2015-01-04 12:03:27 +00:00
SimplifyIndVar.h
SimplifyLibCalls.h [SimplifyLibCalls] Don't try to simplify indirect calls. 2015-01-14 00:55:05 +00:00
SSAUpdater.h
SSAUpdaterImpl.h
SymbolRewriter.h
UnifyFunctionExitNodes.h
UnrollLoop.h [PM] Split the AssumptionTracker immutable pass into two separate APIs: 2015-01-04 12:03:27 +00:00
ValueMapper.h Rename MapValue(Metadata*) to MapMetadata() 2014-12-19 06:06:18 +00:00
VectorUtils.h