llvm-project/llvm/test/Transforms/IPConstantProp
Reid Kleckner 3762a089d7 [IPSCCP] do not break musttail invariant (PR36485)
Do not replace results of `musttail` calls with a constant if the
call itself can't be removed.

Do not zap returns of `musttail` callees, if the call site can't be
removed and replaced with a constant.

Do not zap returns of `musttail`-calling blocks, this breaks
invariant too.

Patch by Fedor Indutny

Differential Revision: https://reviews.llvm.org/D43695

llvm-svn: 326404
2018-03-01 01:19:18 +00:00
..
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
musttail-call.ll [IPSCCP] do not break musttail invariant (PR36485) 2018-03-01 01:19:18 +00:00
naked-return.ll [IPCP] Don't propagate return value for naked functions. 2017-02-04 19:44:14 +00:00
recursion.ll
remove-call-inst.ll [IPSCCP] Remove calls without side effects 2018-01-09 21:58:46 +00:00
return-argument.ll
return-constant.ll
return-constants.ll
user-with-multiple-uses.ll [IPSCCP] Remove calls without side effects 2018-01-09 21:58:46 +00:00