forked from OSchip/llvm-project
abdea268c1
Summary: When performing constant propagation for call instructions we have historically replaced all uses of the return from a call, but not removed the call itself. This is required for correctness if the calls have side effects, however the compiler should be able to safely remove calls that don't have side effects. This allows the compiler to completely fold away calls to functions that have no side effects if the inputs are constant and the output can be determined at compile time. Reviewers: davide, sanjoy, bruno, dberlin Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38856 llvm-svn: 322125 |
||
---|---|---|
.. | ||
2008-06-09-WeakProp.ll | ||
2009-09-24-byval-ptr.ll | ||
PR16052.ll | ||
PR26044.ll | ||
comdat-ipo.ll | ||
dangling-block-address.ll | ||
deadarg.ll | ||
fp-bc-icmp-const-fold.ll | ||
global.ll | ||
naked-return.ll | ||
recursion.ll | ||
remove-call-inst.ll | ||
return-argument.ll | ||
return-constant.ll | ||
return-constants.ll | ||
user-with-multiple-uses.ll |