llvm-6502/lib
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
..
Analysis Revert r225854: [PM] Move the LazyCallGraph printing functionality to 2015-01-14 00:27:45 +00:00
AsmParser AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
Bitcode AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
CodeGen Migrate ABIName to MCTargetOptions so that it can be shared between 2015-01-14 00:50:31 +00:00
DebugInfo Implement a very basic colored syntax highlighting for llvm-dwarfdump. 2015-01-06 16:50:25 +00:00
ExecutionEngine Fix undefined behavior (shift of negative value) in RuntimeDyldMachOAArch64::encodeAddend. 2015-01-10 00:46:38 +00:00
IR [PM] Push the debug option for the new pass manager into the opt tool 2015-01-13 22:42:38 +00:00
IRReader
LineEditor
Linker Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
LTO Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
MC Migrate ABIName to MCTargetOptions so that it can be shared between 2015-01-14 00:50:31 +00:00
Object Don't loop endlessly for MachO files with 0 ncmds 2015-01-06 17:08:26 +00:00
Option
ProfileData
Support Running clang-format on CommandLine.h and CommandLine.cpp. 2015-01-13 19:14:20 +00:00
TableGen
Target Remove unused predicate. 2015-01-14 00:50:33 +00:00
Transforms [SimplifyLibCalls] Don't try to simplify indirect calls. 2015-01-14 00:55:05 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile