llvm-project/llvm/test/Transforms/RewriteStatepointsForGC
Max Kazantsev a40af8589e [RS4GC] Handle special cases in unreachable code for memcpy/memmov
The existing code doesn't expect dummy values (undef, poison, null-derived
constants etc) as arguments of these intrinsics. However, they can be there
in unreached code. Currently we fail trying to find base for them.

Handle these cases separately. Return null as base for them to be consistent
with the handling in the main algorithm in findBaseDefiningValue.

Differential Revision: https://reviews.llvm.org/D129561
Reviewed By: apilipenko
2022-07-22 11:30:43 +07:00
..
X86
base-inference.ll
base-inttoptr.ll
base-pointers-1.ll
base-pointers-2.ll
base-pointers-3.ll
base-pointers-4.ll
base-pointers-5.ll
base-pointers-6.ll
base-pointers-7.ll
base-pointers-8.ll
base-pointers-9.ll
base-pointers-10.ll
base-pointers-11.ll
base-pointers-12.ll
base-pointers-13.ll
base-pointers-14.ll [RS4GC] Prune inputs of BDV if they are BDV themselves 2022-04-26 16:05:00 +07:00
base-pointers.ll
base-vector-inseltpoison.ll
base-vector.ll
basic.ll
basics.ll
call-gc-result.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
check_traversal_order-inseltpoison.ll
check_traversal_order.ll
codegen-cond.ll
constants.ll
deopt-intrinsic-cconv.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
deopt-intrinsic.ll
deopt-lowering-attrs.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
deref-pointers.ll
drop-invalid-metadata.ll
freeze.ll [RS4GC] Handle freeze case for vector 2022-06-23 11:58:41 +07:00
gc-relocate-creation.ll
intrinsics-bare.ll
intrinsics.ll
invokes.ll
leaf-function.ll
libcall.ll
live-vector-nosplit-inseltpoison.ll
live-vector-nosplit.ll
liveness-basics.ll
meetBDVState-hangs.ll
patchable-statepoints.ll
phi-vector-bitcast.ll
pr55308.ll [RS4GC] Add support for 'freeze' instruction to findBaseDefiningValue 2022-05-06 20:46:29 +07:00
pr56493.ll [RS4GC] Handle special cases in unreachable code for memcpy/memmov 2022-07-22 11:30:43 +07:00
preprocess.ll
relocate-invoke-result.ll
relocation.ll
rematerialize-derived-pointers.ll
rewrite-invoke.ll
scalar-base-vector-2.ll
scalar-base-vector.ll
single-base.ll [RS4GC] Add tests showing cases in which we could find a better base (NFC) 2022-04-28 17:22:11 +07:00
statepoint-attrs.ll
statepoint-calling-conventions.ll
statepoint-coreclr.ll
statepoint-format.ll
strip-invalid-attributes.ll
two-invokes-one-landingpad.ll
unordered-atomic-memcpy-no-deopt.ll
unordered-atomic-memcpy.ll
unreachable-regression.ll
vector-bitcast.ll