[llvm] [Offload][Conformance] Add tests for single-precision math functions (PR #152013)
Leandro Lacerda via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 18:13:00 PDT 2025
================
@@ -1,4 +1,4 @@
-add_offload_test_device_code(LLVMLibm.cpp llvm-libm -stdlib -fno-builtin)
+add_offload_test_device_code(LLVMLibm.cpp llvm-libm -O3 -stdlib -fno-builtin -I.)
----------------
leandrolcampos wrote:
Done. I've updated the `add_offload_test_device_code` helper to implicitly add the base `unittests` directory to the include path.
All device code files now use explicit include paths relative to this directory, like `#include "Conformance/device_code/Common.hpp"`.
Thanks for the suggestion!
https://github.com/llvm/llvm-project/pull/152013
More information about the llvm-commits
mailing list