llvm-project/llvm/test/Transforms/OpenMP
Nikita Popov 304f1d59ca [IR] Switch everything to use memory attribute
This switches everything to use the memory attribute proposed in
https://discourse.llvm.org/t/rfc-unify-memory-effect-attributes/65579.
The old argmemonly, inaccessiblememonly and inaccessiblemem_or_argmemonly
attributes are dropped. The readnone, readonly and writeonly attributes
are restricted to parameters only.

The old attributes are auto-upgraded both in bitcode and IR.
The bitcode upgrade is a policy requirement that has to be retained
indefinitely. The IR upgrade is mainly there so it's not necessary
to update all tests using memory attributes in this patch, which
is already large enough. We could drop that part after migrating
tests, or retain it longer term, to make it easier to import IR
from older LLVM versions.

High-level Function/CallBase APIs like doesNotAccessMemory() or
setDoesNotAccessMemory() are mapped transparently to the memory
attribute. Code that directly manipulates attributes (e.g. via
AttributeList) on the other hand needs to switch to working with
the memory attribute instead.

Differential Revision: https://reviews.llvm.org/D135780
2022-11-04 10:21:38 +01:00
..
add_attributes.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
add_attributes_amdgcn.ll
always_inline_device.ll Fix OpenMP Opt for target without a parallel region. 2022-09-06 16:04:53 +00:00
attributor_module_slice_reproducer.ll
attributor_pointer_offset_crash.ll
attributor_recursion_crash.ll
barrier_removal.ll
custom_state_machines.ll [OpenMP][FIX] Do not add custom state machine eagerly in LTO runs 2022-10-26 10:40:11 -07:00
custom_state_machines_pre_lto.ll [OpenMP][FIX] Do not add custom state machine eagerly in LTO runs 2022-10-26 10:40:11 -07:00
custom_state_machines_remarks.ll [OpenMP][FIX] Do not add custom state machine eagerly in LTO runs 2022-10-26 10:40:11 -07:00
dead_use.ll
deduplication.ll
deduplication_remarks.ll
deduplication_target.ll
fold_generic_main_thread.ll
get_hardware_num_threads_in_block_fold.ll Fix OpenMP Opt for target without a parallel region. 2022-09-06 16:04:53 +00:00
get_hardware_num_threads_in_block_fold_optnone.ll
global_constructor.ll
globalization_remarks.ll
gpu_kernel_detection_remarks.ll
gpu_state_machine_function_ptr_replacement.ll [OpenMP][FIX] Do not add custom state machine eagerly in LTO runs 2022-10-26 10:40:11 -07:00
hide_mem_transfer_latency.ll
icv_remarks.ll
icv_tracking.ll
icv_tracking_out_of_scope.ll
is_spmd_exec_mode_fold.ll [Attributor] Replace AAValueSimplify with AAPotentialValues 2022-07-19 16:24:42 -05:00
parallel_deletion.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
parallel_deletion_cg_update.ll [test] Update some legacy PM tests 2022-09-30 11:31:02 -07:00
parallel_deletion_remarks.ll
parallel_level_fold.ll
parallel_region_merging.ll [NFC][1/n] Remove -enable-new-pm=0 flags from lit tests 2022-09-19 09:57:37 -07:00
remove_globalization.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
remove_noinline_attributes.ll Revert "[OpenMP] Remove noinline attributes in the device runtime" 2022-07-27 11:09:18 -04:00
replace_globalization.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
rtf_type_checking.ll [NFC][1/n] Remove -enable-new-pm=0 flags from lit tests 2022-09-19 09:57:37 -07:00
single_threaded_execution.ll Fix OpenMP Opt for target without a parallel region. 2022-09-06 16:04:53 +00:00
spmdization.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
spmdization_assumes.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
spmdization_constant_prop.ll
spmdization_guarding.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
spmdization_guarding_two_reaching_kernels.ll [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
spmdization_remarks.ll [OpenMP][FIX] Do not add custom state machine eagerly in LTO runs 2022-10-26 10:40:11 -07:00
values_in_offload_arrays.ll