[Openmp-commits] [openmp] [OpenMP] Add Environment Variable to disable Reuse of Blocks for High Loop Trip Counts (PR #89239)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Wed May 1 07:55:24 PDT 2024


================
@@ -0,0 +1,29 @@
+// RUN: %libomptarget-compilexx-generic && env
+// LIBOMPTARGET_REUSE_BLOCKS_FOR_HIGH_TRIP_COUNT=False %libomptarget-run-generic
+// 2>&1 | %fcheck-generic UNSUPPORTED: aarch64-unknown-linux-gnu UNSUPPORTED:
+// aarch64-unknown-linux-gnu-LTO UNSUPPORTED: x86_64-pc-linux-gnu UNSUPPORTED:
+// x86_64-pc-linux-gnu-LTO UNSUPPORTED: s390x-ibm-linux-gnu UNSUPPORTED:
+// s390x-ibm-linux-gnu-LTO
----------------
jdoerfert wrote:

This got formatted badly.

Also, add a second RUN line to test the default. Then don't check for pass but just print the values and CHECK for the two different expected ones.

https://github.com/llvm/llvm-project/pull/89239


More information about the Openmp-commits mailing list