llvm-project/llvm/test/Transforms/RewriteStatepointsForGC
Daniil Suchkov 7c3e2b92cf [RewriteStatepointsForGC] Fix an incorrect assertion
The assertion verifying that a newly computed value matches what is
already cached used stripPointerCasts() to strip bitcasts, however the
values can be not only pointers, but also vectors of pointers. That is
problematic because stripPointerCasts() doesn't handle vectors of
pointers. This patch introduces an ad-hoc utility function to strip all
bitcasts regardless of the value type.

Reviewed By: skatkov, reames

Differential Revision: https://reviews.llvm.org/D119994
2022-02-17 18:44:57 +00:00
..
X86
base-inference.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-inttoptr.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-1.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-2.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-3.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-4.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-5.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-6.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-7.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-8.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-9.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-10.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-11.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-12.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers-13.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-pointers.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-vector-inseltpoison.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
base-vector.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
basic.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
basics.ll [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
call-gc-result.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
check_traversal_order-inseltpoison.ll
check_traversal_order.ll
codegen-cond.ll
constants.ll
deopt-intrinsic-cconv.ll
deopt-intrinsic.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
deopt-lowering-attrs.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
deref-pointers.ll
drop-invalid-metadata.ll
gc-relocate-creation.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
intrinsics-bare.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
intrinsics.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
invokes.ll
leaf-function.ll
libcall.ll
live-vector-nosplit-inseltpoison.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
live-vector-nosplit.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
liveness-basics.ll
meetBDVState-hangs.ll
patchable-statepoints.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
phi-vector-bitcast.ll [RewriteStatepointsForGC] Fix an incorrect assertion 2022-02-17 18:44:57 +00:00
preprocess.ll
relocate-invoke-result.ll
relocation.ll
rematerialize-derived-pointers.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
rewrite-invoke.ll
scalar-base-vector-2.ll [RS4GC] Restore DAG check line (NFC) 2022-02-04 10:26:15 +01:00
scalar-base-vector.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
statepoint-attrs.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
statepoint-calling-conventions.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
statepoint-coreclr.ll
statepoint-format.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
strip-invalid-attributes.ll
two-invokes-one-landingpad.ll
unordered-atomic-memcpy-no-deopt.ll
unordered-atomic-memcpy.ll [IRBuilder][RS4GC] Require FunctionCallee when creating statepoint 2022-02-04 09:47:32 +01:00
unreachable-regression.ll
vector-bitcast.ll