[clang] [RISCV][NFC] Make generated intrinsic records more human-readable (PR #133710)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 13 21:19:49 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running on `hip-vega20-0` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/17448
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
-- Generating done
-- Build files have been written to: /home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm
+ build_step 'Building LLVM'
+ echo '@@@BUILD_STEP Building LLVM@@@'
+ ninja
@@@BUILD_STEP Building LLVM@@@
[1/1832] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/1832] Generating VCSRevision.h
[3/1832] Linking CXX executable bin/llvm-config
[4/1832] Building CXX object tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o
FAILED: tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -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/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Support -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Support -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -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/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -MF tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o.d -o tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Support/RISCVVIntrinsicUtils.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Support/RISCVVIntrinsicUtils.cpp:9:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:541:22: error: declaration of ‘clang::RISCV::RequiredExtensions clang::RISCV::RVVIntrinsicRecord::RequiredExtensions’ changes meaning of ‘RequiredExtensions’ [-fpermissive]
541 | RequiredExtensions RequiredExtensions;
| ^~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:515:8: note: ‘RequiredExtensions’ declared here as ‘struct clang::RISCV::RequiredExtensions’
515 | struct RequiredExtensions {
| ^~~~~~~~~~~~~~~~~~
[5/1832] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o
FAILED: tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/utils/TableGen -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -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/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -MF tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o.d -o tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp:17:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:541:22: error: declaration of ‘clang::RISCV::RequiredExtensions clang::RISCV::RVVIntrinsicRecord::RequiredExtensions’ changes meaning of ‘RequiredExtensions’ [-fpermissive]
541 | RequiredExtensions RequiredExtensions;
| ^~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:515:8: note: ‘RequiredExtensions’ declared here as ‘struct clang::RISCV::RequiredExtensions’
515 | struct RequiredExtensions {
| ^~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp:48:22: error: declaration of ‘clang::RISCV::RequiredExtensions {anonymous}::SemaRecord::RequiredExtensions’ changes meaning of ‘RequiredExtensions’ [-fpermissive]
48 | RequiredExtensions RequiredExtensions;
| ^~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp:17:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:515:8: note: ‘RequiredExtensions’ declared here as ‘struct clang::RISCV::RequiredExtensions’
515 | struct RequiredExtensions {
| ^~~~~~~~~~~~~~~~~~
[6/1832] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[7/1832] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[8/1832] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.
Step 7 (Building LLVM) failure: Building LLVM (failure)
@@@BUILD_STEP Building LLVM@@@
[1/1832] Building CXX object tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/1832] Generating VCSRevision.h
[3/1832] Linking CXX executable bin/llvm-config
[4/1832] Building CXX object tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o
FAILED: tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -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/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/Support -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Support -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -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/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -MF tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o.d -o tools/clang/lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Support/RISCVVIntrinsicUtils.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/Support/RISCVVIntrinsicUtils.cpp:9:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:541:22: error: declaration of ‘clang::RISCV::RequiredExtensions clang::RISCV::RVVIntrinsicRecord::RequiredExtensions’ changes meaning of ‘RequiredExtensions’ [-fpermissive]
541 | RequiredExtensions RequiredExtensions;
| ^~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:515:8: note: ‘RequiredExtensions’ declared here as ‘struct clang::RISCV::RequiredExtensions’
515 | struct RequiredExtensions {
| ^~~~~~~~~~~~~~~~~~
[5/1832] Building CXX object tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o
FAILED: tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/utils/TableGen -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -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/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -MF tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o.d -o tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp:17:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:541:22: error: declaration of ‘clang::RISCV::RequiredExtensions clang::RISCV::RVVIntrinsicRecord::RequiredExtensions’ changes meaning of ‘RequiredExtensions’ [-fpermissive]
541 | RequiredExtensions RequiredExtensions;
| ^~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:515:8: note: ‘RequiredExtensions’ declared here as ‘struct clang::RISCV::RequiredExtensions’
515 | struct RequiredExtensions {
| ^~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp:48:22: error: declaration of ‘clang::RISCV::RequiredExtensions {anonymous}::SemaRecord::RequiredExtensions’ changes meaning of ‘RequiredExtensions’ [-fpermissive]
48 | RequiredExtensions RequiredExtensions;
| ^~~~~~~~~~~~~~~~~~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/utils/TableGen/RISCVVEmitter.cpp:17:
/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include/clang/Support/RISCVVIntrinsicUtils.h:515:8: note: ‘RequiredExtensions’ declared here as ‘struct clang::RISCV::RequiredExtensions’
515 | struct RequiredExtensions {
| ^~~~~~~~~~~~~~~~~~
[6/1832] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
[7/1832] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[8/1832] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
ninja: build stopped: subcommand failed.
program finished with exit code 1
elapsedTime=21.718772
```
</details>
https://github.com/llvm/llvm-project/pull/133710
More information about the cfe-commits
mailing list