llvm-project/llvm/test/Transforms/OpenMP
Fangrui Song c2a3888793 [IR] Use Min behavior for module flag "PIC Level"
Using Max for both "PIC Level" and "PIE Level" is inconsistent. PIC imposes less
restriction while PIE imposes more restriction. The result generally
picks the more restrictive behavior: Min for PIC.

This choice matches `ld -r`: a non-pic object and a pic object merge into a
result which should be treated as non-pic.

To allow linking "PIC Level" using Error/Max from old bitcode files, upgrade
Error/Max to Min.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D130531
2022-08-18 16:28:55 -07:00
..
add_attributes.ll [OpenMP] Fix test error introduced in D130179 2022-07-22 14:16:47 -04:00
add_attributes_amdgcn.ll
always_inline_device.ll
attributor_module_slice_reproducer.ll
attributor_pointer_offset_crash.ll
attributor_recursion_crash.ll [Attributor][FIX] Avoid endless recursion, simple case 2022-03-23 15:55:32 -05:00
barrier_removal.ll [Attributor] Simplify loads from constant globals 2022-06-09 13:41:23 +02:00
custom_state_machines.ll [Attributor] Remove broken and duplicated load simplification 2022-04-05 20:49:03 -05:00
custom_state_machines_remarks.ll
dead_use.ll
deduplication.ll
deduplication_remarks.ll
deduplication_target.ll
fold_generic_main_thread.ll
get_hardware_num_threads_in_block_fold.ll [OpenMP] Ensure to not use SPMD mode in the absence of parallel regions 2022-07-07 16:49:22 -05: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 [Attributor] Allow not to default initialize AAs for live internal functions 2022-03-11 16:46:03 -06:00
hide_mem_transfer_latency.ll
icv_remarks.ll
icv_tracking.ll Revert "[Attributor] Replace AAValueSimplify with AAPotentialValues" 2022-06-09 17:04:01 +02:00
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 [Attributor] Replace AAValueSimplify with AAPotentialValues 2022-07-19 16:24:42 -05:00
parallel_deletion_cg_update.ll
parallel_deletion_remarks.ll
parallel_level_fold.ll [Attributor] Allow not to default initialize AAs for live internal functions 2022-03-11 16:46:03 -06:00
parallel_region_merging.ll [Attributor] Try to delete stores and simplify stored values 2022-06-09 16:48:53 +02:00
remove_globalization.ll [Attributor] Replace AAValueSimplify with AAPotentialValues 2022-07-19 16:24:42 -05: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 [Attributor] Replace AAValueSimplify with AAPotentialValues 2022-07-19 16:24:42 -05:00
rtf_type_checking.ll
single_threaded_execution.ll
spmdization.ll [IR] Use Min behavior for module flag "PIC Level" 2022-08-18 16:28:55 -07:00
spmdization_assumes.ll [IR] Use Min behavior for module flag "PIC Level" 2022-08-18 16:28:55 -07:00
spmdization_constant_prop.ll [Attributor][FIX] Give registered simplification callbacks precedence 2022-06-09 15:31:53 +02:00
spmdization_guarding.ll [IR] Use Min behavior for module flag "PIC Level" 2022-08-18 16:28:55 -07:00
spmdization_guarding_two_reaching_kernels.ll [IR] Use Min behavior for module flag "PIC Level" 2022-08-18 16:28:55 -07:00
spmdization_remarks.ll
values_in_offload_arrays.ll