[llvm] Revert "[SPIRV] Add radians intrinsic" (PR #111398)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 09:36:41 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-out-of-tree` running on `linaro-flang-aarch64-out-of-tree` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/53/builds/5885
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
499.124 [382/11/937] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o
499.173 [381/11/938] Linking CXX static library lib/libLLVMInstrumentation.a
499.219 [378/13/939] Linking CXX static library lib/libLLVMObjCARCOpts.a
499.221 [378/12/940] Linking CXX static library lib/libLLVMAggressiveInstCombine.a
499.399 [378/11/941] Linking CXX static library lib/libLLVMInstCombine.a
499.624 [378/10/942] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o
499.894 [377/10/943] Linking CXX static library lib/libLLVMScalarOpts.a
500.731 [377/9/944] Building CXX object lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilderPipelines.cpp.o
500.823 [376/9/945] Linking CXX static library lib/libLLVMFuzzMutate.a
500.904 [376/8/946] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o
FAILED: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_llvm/tools/clang/lib/CodeGen -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/clang/lib/CodeGen -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_llvm/tools/clang/include -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -MF tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o.d -o tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp
In file included from ../llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:16:
../llvm-project/clang/lib/CodeGen/CGHLSLRuntime.h:86:3: error: no member named 'spv_radians' in namespace 'llvm::Intrinsic'; did you mean 'dx_radians'?
86 | GENERATE_HLSL_INTRINSIC_FUNCTION(Radians, radians)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm-project/clang/lib/CodeGen/CGHLSLRuntime.h:42:31: note: expanded from macro 'GENERATE_HLSL_INTRINSIC_FUNCTION'
42 | return llvm::Intrinsic::spv_##IntrinsicPostfix; \
| ~~~~~~~~~~~~~~~~~^
<scratch space>:52:1: note: expanded from here
52 | spv_radians
| ^
include/llvm/IR/IntrinsicsDirectX.h:32:5: note: 'dx_radians' declared here
32 | dx_radians, // llvm.dx.radians
| ^
1 error generated.
501.775 [376/7/947] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o
502.565 [376/6/948] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o
503.020 [376/5/949] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o
508.160 [376/4/950] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o
510.788 [376/3/951] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o
511.096 [376/2/952] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o
639.841 [376/1/953] Building CXX object lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/111398
More information about the llvm-commits
mailing list