"clang/test/CodeGen/2003-11-08-PointerSubNotGetelementptr.c" did not exist on "d8734cf9162bc74b3c7603e4e81cb04a983bd444"
[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. llvm-svn: 225895
Loading
Please sign in to comment