aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-01-14 00:55:05 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-01-14 00:55:05 +0000
commit71d7b18e3d7e81f707caab1e35d5e211c96a941c (patch)
tree7c438f415cd64808c111cdc476ff73d3b30c1af0 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent7af6af4225e5c3354d8c2857dacef9af4eb4ab59 (diff)
downloadllvm-71d7b18e3d7e81f707caab1e35d5e211c96a941c.zip
llvm-71d7b18e3d7e81f707caab1e35d5e211c96a941c.tar.gz
llvm-71d7b18e3d7e81f707caab1e35d5e211c96a941c.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions