llvm-project/llvm/test/Transforms/Attributor/IPConstantProp
Johannes Doerfert 23f41f16d4 [Attributor] Use fine-grained liveness in all helpers
We used coarse-grained liveness before, thus we looked if the
instruction was executed, but we did not use fine-grained liveness,
hence if the instruction was needed or could be deleted even if the
surrounding ones are live. This patches introduces this level of
liveness checks together with other liveness queries, e.g., for uses.

For more control we enforce that all liveness queries go through the
Attributor.

Test have been adjusted to reflect the changes or augmented to prevent
deletion of the parts we want to check.

Reviewed By: sstefan1

Differential Revision: https://reviews.llvm.org/D73313
2020-02-12 17:36:38 -06:00
..
2008-06-09-WeakProp.ll
2009-09-24-byval-ptr.ll [Attributor] Use fine-grained liveness in all helpers 2020-02-12 17:36:38 -06:00
PR16052.ll [Attributor][FIX] Remove FIXME that seems outdated 2020-02-10 00:55:10 -06:00
PR26044.ll [Attributor] Use abstract call sites to determine associated arguments 2019-12-31 01:33:22 -06:00
PR43857.ll [Attributor] Use fine-grained liveness in all helpers 2020-02-12 17:36:38 -06:00
arg-count-mismatch.ll [Attributor] Ignore uses if a value is simplified 2020-02-12 17:36:38 -06:00
arg-type-mismatch.ll
comdat-ipo.ll [Attributor][FIX] Remove duplicate, half-broken functionality 2020-02-11 11:02:59 -06:00
dangling-block-address.ll
deadarg.ll
fp-bc-icmp-const-fold.ll [Attributor] AAUndefinedBehavior: Check for branches on undef value. 2019-12-29 17:43:00 +09:00
global.ll
multiple_callbacks.ll [Attributor] Use assumed information to determine side-effects 2020-02-12 17:36:38 -06:00
musttail-call.ll
naked-return.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
openmp_parallel_for.ll [Attributor] Ignore uses if a value is simplified 2020-02-12 17:36:38 -06:00
pthreads.ll [Attributor] Add an Attributor CGSCC pass and run it 2020-02-08 21:27:34 -06:00
recursion.ll [Attributor] Use fine-grained liveness in all helpers 2020-02-12 17:36:38 -06:00
remove-call-inst.ll [Attributor] Ignore uses if a value is simplified 2020-02-12 17:36:38 -06:00
return-argument.ll [Attributor] Use fine-grained liveness in all helpers 2020-02-12 17:36:38 -06:00
return-constant.ll [Attributor] Ignore uses if a value is simplified 2020-02-12 17:36:38 -06:00
return-constants.ll [Attributor] Use fine-grained liveness in all helpers 2020-02-12 17:36:38 -06:00
solve-after-each-resolving-undefs-for-function.ll [Attributor] Ignore uses if a value is simplified 2020-02-12 17:36:38 -06:00
thread_local_acs.ll [Attributor] Use abstract call sites to determine associated arguments 2019-12-31 01:33:22 -06:00