llvm-project/polly/test/GPGPU
Michael Kruse d5c87162db [Polly] Use VirtualUse to determine references.
VirtualUse ensures consistency over different source of values with
Polly. In particular, this enables its use of instructions moved between
Statement. Before the patch, the code wrongly assumed that the BB's
instructions are also the ScopStmt's instructions. Reference are
determined for OpenMP outlining and GPGPU kernel extraction.

GPGPU CodeGen had some problems. For one, it generated GPU kernel
parameters for constants. Second, it emitted GPU-side invariant loads
which have already been loaded by the host. This has been partially
fixed, it still generates a store for the invariant load result, but
using the value that the host has already written.

WARNING: I did not test the generated PollyACC code on an actual GPU.

The improved consistency will be made use of in the next patch.
2021-09-26 03:26:43 -05:00
..
Inputs
add-scalars-in-scop-to-kills.ll
align-params-in-schedule.ll
array-with-elem-type-smaller-than-byte.ll
bounds-construction-with-ignore-param-bounds.ll
check-unused-fortran-array-size-param-offloaded-to-kernel.ll
cuda-annotations.ll
cuda-managed-memory-simple.ll [GPGPU] Fix regression test after 395124. 2019-11-13 06:20:17 +00:00
debug-metadata-leak.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
double-parallel-loop.ll
failing-invariant-load-handling.ll
failing-invariant-load-hoisting.ll
host-control-flow.ll
host-statement.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
ignore-parameter-bounds.ll
intrinsic-copied-into-kernel.ll
invalid-kernel-assert-verifymodule.ll
invalid-kernel.ll
invariant-load-array-access.ll
invariant-load-escaping-values.ll
invariant-load-hoisting-of-array.ll
invariant-load-hoisting-read-in-kernel.ll [Polly] Use VirtualUse to determine references. 2021-09-26 03:26:43 -05:00
invariant-load-hoisting-with-variable-bounds.ll
invariant-load-hoisting-with-variable-lower-bound.ll
invariant-load-hoisting-with-variable-upper-bound.ll
invariant-load-hoisting.ll
invariant-load-of-scalar.ll [Polly] Use VirtualUse to determine references. 2021-09-26 03:26:43 -05:00
kernel-params-only-some-arrays.ll
kernel-params-scop-parameter.ll
kernels-names-across-scops-funcs.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
libdevice-functions-copied-into-kernel.ll [polly][GPGPU] Fixup related to overloading exponent type in llvm.powi 2021-06-18 08:59:06 +02:00
live-range-reordering-with-privatization.ll
loops-outside-scop.ll
managed-memory-rewrite-alloca.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
managed-memory-rewrite-malloc-free-inside-constexpr.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
managed-memory-rewrite-malloc-free.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
managed-pointers-preparation.ll [Polly] Update isl to isl-0.23-61-g24e8cd12. 2021-01-19 12:01:31 -06:00
memory-only-referenced-from-access.ll
mostly-sequential.ll
non-read-only-scalars.ll
non-zero-array-offset.ll [Polly] Update isl to isl-0.23-61-g24e8cd12. 2021-01-19 12:01:31 -06:00
only-part-of-array-modified.ll
parametric-loop-bound.ll
partial_writes.ll
partial_writes___%bb2---%bb14.jscop
phi-nodes-in-kernel.ll [Polly] Use VirtualUse to determine references. 2021-09-26 03:26:43 -05:00
private-memory.ll
privatization-simple.ll
privatization.ll
region-stmt.ll
remove-dead-instructions-in-stmt-2.ll
remove-dead-instructions-in-stmt.ll
run-time-check.ll
scalar-param-and-value-32-bit.ll
scalar-param-and-value-use.ll
scalar-parameter-fp128.ll
scalar-parameter-half.ll
scalar-parameter-i80.ll
scalar-parameter-i120.ll
scalar-parameter-i128.ll
scalar-parameter-i3000.ll
scalar-parameter-ppc_fp128.ll
scalar-parameter-x86_fp80.ll
scalar-parameter.ll
scalar-writes-in-scop-requires-abort.ll
scheduler-timeout.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
shared-memory-scalar.ll
shared-memory-two-dimensional.ll
shared-memory.ll
simple-managed-memory-rewrite.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
size-cast.ll
spir-codegen.ll [Polly] Do not use -O3 pipeline for single pass test. 2021-02-10 13:25:56 -06:00
spir-typesize.ll [Polly] Remove use of -O3 in regression test. 2021-02-09 18:13:35 -06:00
unknown-fn-call-not-copied-into-kernel.ll
untouched-arrays.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00