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

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


llvm-ci wrote:

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

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/Analyses/Dominators.h:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/AnalysisDeclContext.h:22:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/CFG.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/ExprCXX.h:21:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/DeclCXX.h:22:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/Expr.h:5219:21: warning: '@endcode' command does not terminate a verbatim text block [-Wdocumentation]
  /// literal or an @encode?
                    ^~~~~~~
3 warnings generated.
215.140 [1942/96/3971] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o
FAILED: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -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/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/lib/CodeGen -I/b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen -I/b/1/clang-x86_64-debian-fast/llvm.src/clang/include -I/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/include -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -fPIC -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  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -MF tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o.d -o tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -c /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGHLSLRuntime.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGHLSLRuntime.cpp:15:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGHLSLRuntime.h:86:3: error: no member named 'spv_radians' in namespace 'llvm::Intrinsic'; did you mean 'dx_radians'?
  GENERATE_HLSL_INTRINSIC_FUNCTION(Radians, radians)
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGHLSLRuntime.h:42:31: note: expanded from macro 'GENERATE_HLSL_INTRINSIC_FUNCTION'
      return llvm::Intrinsic::spv_##IntrinsicPostfix;                          \
             ~~~~~~~~~~~~~~~~~^
<scratch space>:147:1: note: expanded from here
spv_radians
^
/b/1/clang-x86_64-debian-fast/llvm.obj/include/llvm/IR/IntrinsicsDirectX.h:32:5: note: 'dx_radians' declared here
    dx_radians,                                // llvm.dx.radians
    ^
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGHLSLRuntime.cpp:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGDebugInfo.h:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuilder.h:13:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGValue.h:19:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CodeGenTBAA.h:20:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:64:14: warning: parameter 'Do' not found in the function declaration [-Wdocumentation]
  /// @param Do these weights come from __builtin_expect*
             ^~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:64:14: note: did you mean 'IsExpected'?
  /// @param Do these weights come from __builtin_expect*
             ^~
             IsExpected
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:78:14: warning: parameter 'Do' not found in the function declaration [-Wdocumentation]
  /// @param Do these weights come from __builtin_expect*
             ^~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:78:14: note: did you mean 'IsExpected'?
  /// @param Do these weights come from __builtin_expect*
             ^~
             IsExpected
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGHLSLRuntime.cpp:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGDebugInfo.h:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGBuilder.h:13:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/lib/CodeGen/CGValue.h:21:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/ASTContext.h:21:

```

</details>

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


More information about the llvm-commits mailing list