[clang] [llvm] [RISCV] Add Qualcomm uC Xqcisync (Sync Delay) extension (PR #132184)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 21 20:23:10 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv7-global-isel` running on `linaro-clang-armv7-global-isel` while building `clang,llvm` at step 6 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/39/builds/5224
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (build stage 1) failure: 'ninja' (failure)
...
[122/237] Linking CXX static library lib/libLLVMRISCVCodeGen.a
[123/237] Linking CXX static library lib/libLLVMRISCVTargetMCA.a
[124/237] Linking CXX executable bin/clang-query
[125/237] Linking CXX executable bin/amdgpu-arch
[126/237] Linking CXX executable bin/nvptx-arch
[127/237] Linking CXX executable bin/clang-import-test
[128/237] Linking CXX executable bin/llvm-cvtres
[129/237] Linking CXX executable bin/llvm-cxxfilt
[130/237] Linking CXX executable bin/llvm-cxxdump
[131/237] Building CXX object lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
FAILED: lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/lib/Target/RISCV/AsmParser -I/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/lib/Target/RISCV/AsmParser -I/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/lib/Target/RISCV -I/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/lib/Target/RISCV -I/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/include -I/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/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 -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -MF lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o.d -o lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -c /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
../llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:778:5: error: no type named 'VariantKind' in 'llvm::RISCVMCExpr'; did you mean 'llvm::MCSymbolRefExpr::VariantKind'?
778 | RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| llvm::MCSymbolRefExpr::VariantKind
../llvm/llvm/include/llvm/MC/MCExpr.h:196:8: note: 'llvm::MCSymbolRefExpr::VariantKind' declared here
196 | enum VariantKind : uint16_t {
| ^
../llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:778:30: error: cannot initialize a variable of type 'llvm::MCSymbolRefExpr::VariantKind' with an rvalue of type 'llvm::RISCVMCExpr::Specifier'
778 | RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None;
| ^ ~~~~~~~~~~~~~~~~~~~~
../llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:780:61: error: non-const lvalue reference to type 'RISCVMCExpr::Specifier' cannot bind to a value of unrelated type 'llvm::MCSymbolRefExpr::VariantKind'
780 | bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
| ^~
../llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59: note: passing argument to parameter 'VK' here
518 | RISCVMCExpr::Specifier &VK) {
| ^
../llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:784:15: warning: comparison of different enumeration types ('llvm::MCSymbolRefExpr::VariantKind' and 'llvm::RISCVMCExpr::Specifier') [-Wenum-compare]
784 | VK == RISCVMCExpr::VK_None;
| ~~ ^ ~~~~~~~~~~~~~~~~~~~~
1 warning and 3 errors generated.
[132/237] Linking CXX executable bin/dexp
[133/237] Linking CXX executable bin/pp-trace
[134/237] Linking CXX executable bin/clang-include-cleaner
[135/237] Linking CXX executable bin/tool-template
[136/237] Linking CXX executable bin/clangd-indexer
[137/237] Linking CXX executable bin/clangd-fuzzer
[138/237] Linking CXX executable bin/clangd
[139/237] Linking CXX executable bin/dsymutil
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/132184
More information about the llvm-commits
mailing list