diff options
author | Eric Christopher <echristo@apple.com> | 2010-03-06 10:50:38 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-03-06 10:50:38 +0000 |
commit | a7fb58f5f5b24be9f3ed5eadcf10ad024b810859 (patch) | |
tree | 88cdd46e4a6927ad5cf071bcd4ba9eda4e07eec2 /llvm/lib/Transforms/InstCombine/InstCombine.h | |
parent | b0759be4d07b3dec03b527fe3b50260d6c6d6e86 (diff) | |
download | bcm5719-llvm-a7fb58f5f5b24be9f3ed5eadcf10ad024b810859.tar.gz bcm5719-llvm-a7fb58f5f5b24be9f3ed5eadcf10ad024b810859.zip |
Migrate _chk call lowering from SimplifyLibCalls to InstCombine. Stub
out the remainder of the calls that we should lower in some way and
move the tests to the new correct directory. Fix up tests that are now
optimized more than they were before by -instcombine.
llvm-svn: 97875
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombine.h b/llvm/lib/Transforms/InstCombine/InstCombine.h index 07fb15eb825..bd064997432 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombine.h +++ b/llvm/lib/Transforms/InstCombine/InstCombine.h @@ -207,6 +207,7 @@ private: const Type *Ty); Instruction *visitCallSite(CallSite CS); + Instruction *tryOptimizeCall(CallInst *CI, const TargetData *TD); bool transformConstExprCastCall(CallSite CS); Instruction *transformCallThroughTrampoline(CallSite CS); Instruction *transformZExtICmp(ICmpInst *ICI, Instruction &CI, |