[llvm] Revert "[SPIRV] Add radians intrinsic" (PR #111398)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 09:29:53 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/8840

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
20.384 [1174/40/62] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/ConvergenceVerifier.cpp.o
20.414 [1173/40/63] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o
21.177 [1172/40/64] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o
21.290 [1171/40/65] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DataLayout.cpp.o
21.460 [1170/40/66] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o
22.188 [1169/40/67] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o
22.325 [1168/40/68] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DIExpressionOptimizer.cpp.o
22.572 [1167/40/69] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o
22.649 [1166/40/70] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o
22.790 [1165/40/71] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o
FAILED: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/g++ -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/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/lib/CodeGen -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/lib/CodeGen -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -MF tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o.d -o tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/lib/CodeGen/CGDeclCXX.cpp
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/lib/CodeGen/CGDeclCXX.cpp:14:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/lib/CodeGen/CGHLSLRuntime.h: In member function ‘llvm::Intrinsic::ID clang::CodeGen::CGHLSLRuntime::getRadiansIntrinsic()’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/lib/CodeGen/CGHLSLRuntime.h:42:31: error: ‘spv_radians’ is not a member of ‘llvm::Intrinsic’; did you mean ‘dx_radians’?
   42 |       return llvm::Intrinsic::spv_##IntrinsicPostfix;                          \
      |                               ^~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/lib/CodeGen/CGHLSLRuntime.h:42:31: note: in definition of macro ‘GENERATE_HLSL_INTRINSIC_FUNCTION’
   42 |       return llvm::Intrinsic::spv_##IntrinsicPostfix;                          \
      |                               ^~~~
23.803 [1165/39/72] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o
24.046 [1165/38/73] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DebugProgramInstruction.cpp.o
24.140 [1165/37/74] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/EHPersonalities.cpp.o
24.418 [1165/36/75] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o
24.556 [1165/35/76] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o
24.710 [1165/34/77] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DIBuilder.cpp.o
24.743 [1165/33/78] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/AsmWriter.cpp.o
24.789 [1165/32/79] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineBlockPlacement.cpp.o
25.052 [1165/31/80] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/SSAContext.cpp.o
25.056 [1165/30/81] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DebugLoc.cpp.o
25.344 [1165/29/82] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/FPEnv.cpp.o
25.602 [1165/28/83] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o
25.989 [1165/27/84] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Constants.cpp.o
26.114 [1165/26/85] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o
26.360 [1165/25/86] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticInfo.cpp.o
26.430 [1165/24/87] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o
26.431 [1165/23/88] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Core.cpp.o
26.573 [1165/22/89] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o
26.828 [1165/21/90] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DebugInfo.cpp.o
26.883 [1165/20/91] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Function.cpp.o
26.885 [1165/19/92] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o
27.036 [1165/18/93] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Globals.cpp.o
27.234 [1165/17/94] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Intrinsics.cpp.o
27.284 [1165/16/95] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/AutoUpgrade.cpp.o
27.661 [1165/15/96] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/InlineAsm.cpp.o
27.776 [1165/14/97] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o
27.816 [1165/13/98] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/IRBuilder.cpp.o
27.818 [1165/12/99] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o
28.614 [1165/11/100] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o

```

</details>

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


More information about the llvm-commits mailing list