[llvm] [Offload] Add framework for math conformance tests (PR #149242)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 09:31:35 PDT 2025


================
@@ -62,6 +62,8 @@ function(add_offload_test_device_code test_filename test_name)
       set(output_file "${CMAKE_CURRENT_BINARY_DIR}/${test_name}.amdgpu.bin")
       add_custom_command(
         OUTPUT ${output_file}
+        # TODO(jhuber6): Add and test the '-stdlib' flag here; also consider
+        #                the '-fno-builtin' flag.
----------------
jhuber6 wrote:

Should be able to pass the same flags.

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


More information about the llvm-commits mailing list