llvm-6502/lib/Transforms
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
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine Fix fcmp + fabs instcombines when using the intrinsic 2015-01-08 20:09:34 +00:00
Instrumentation [ASan] Move the shadow on Windows 32-bit from 0x20000000 to 0x40000000 2015-01-12 17:38:58 +00:00
IPO Standardize {pred,succ,use,user}_empty() 2015-01-13 03:46:47 +00:00
ObjCARC IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
Scalar Standardize {pred,succ,use,user}_empty() 2015-01-13 03:46:47 +00:00
Utils [SimplifyLibCalls] Don't try to simplify indirect calls. 2015-01-14 00:55:05 +00:00
Vectorize Fix non-determinism issue in SLP 2015-01-13 19:45:52 +00:00
CMakeLists.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
LLVMBuild.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Makefile Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00