1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/Transforms/IPConstantProp
Reid Kleckner b52d2788e3 [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
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
PR16052.ll
PR26044.ll
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