llvm-project/llvm/test/Transforms/Attributor/IPConstantProp
Antonio Frighetto 43d6991c2a [IR] Look through bitcast in hasFnAttribute()
A logic incompleteness may lead MemorySSA to be too conservative
in its results. Specifically, when dealing with a call of kind
`call i32 bitcast (i1 (i1)* @test to i32 (i32)*)(i32 %1)`, where
the function `test` is declared with readonly attribute, the
bitcast is not looked through, obscuring function attributes. Hence,
some methods of CallBase (e.g., doesNotReadMemory) could provide
suboptimal results.

Differential Revision: https://reviews.llvm.org/D109888
2021-09-21 21:57:02 +02:00
..
2008-06-09-WeakProp.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
2009-09-24-byval-ptr.ll [Attributor][FIX] Do not treat byval args as local memory (for now) 2021-08-27 13:12:11 -05:00
PR16052.ll [Attributor] Utilize the InstSimplify interface to simplify instructions 2021-07-27 00:56:23 -05:00
PR26044.ll The maximal representable alignment in LLVM IR is 1GiB, not 512MiB 2021-08-26 12:53:39 +03:00
PR43857.ll [Attributor][FIX] Account for undef in the constant value lattice 2021-05-23 20:47:06 -05:00
arg-count-mismatch.ll [IR] Look through bitcast in hasFnAttribute() 2021-09-21 21:57:02 +02:00
arg-type-mismatch.ll [IR] Look through bitcast in hasFnAttribute() 2021-09-21 21:57:02 +02:00
comdat-ipo.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
dangling-block-address.ll [Attributor] Utilize the InstSimplify interface to simplify instructions 2021-07-27 00:56:23 -05:00
deadarg.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
fp-bc-icmp-const-fold.ll [Attributor] Teach AAIsDead about undef values 2021-05-23 23:00:40 -05:00
global.ll [Attributor] Introduce AAPointerInfo 2021-07-19 22:48:35 -05:00
multiple_callbacks.ll [Attributor] Use AAValueSimplify to simplify returned values 2021-07-10 15:52:36 -05:00
musttail-call.ll [Attributor] Use AAValueSimplify to simplify returned values 2021-07-10 15:52:36 -05:00
naked-return.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
openmp_parallel_for.ll [Attributor] Extend the AAValueSimplify compare simplification logic 2021-07-20 00:35:14 -05:00
pthreads.ll The maximal representable alignment in LLVM IR is 1GiB, not 512MiB 2021-08-26 12:53:39 +03:00
recursion.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
remove-call-inst.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00
return-argument.ll [Attributor] Utilize the InstSimplify interface to simplify instructions 2021-07-27 00:56:23 -05:00
return-constant.ll [Attributor] Use a centralized value simplification interface 2021-06-18 01:07:53 -05:00
return-constants.ll [Attributor] Use a centralized value simplification interface 2021-06-18 01:07:53 -05:00
solve-after-each-resolving-undefs-for-function.ll [Attributor] Teach AAIsDead about undef values 2021-05-23 23:00:40 -05:00
thread_local_acs.ll [Attributor][NFC] Update tests after D94741 2021-03-11 23:31:39 -06:00