[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 19:32:16 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-fuzzer` running on `sanitizer-buildbot11` while building `clang,llvm` at step 2 "annotate".

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

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

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[101/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVInstPrinter.cpp.o
[102/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o
[103/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCExpr.cpp.o
[104/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVTargetStreamer.cpp.o
[105/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o
[106/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o
[107/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o
[108/229] Building CXX object lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o
[109/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o
[110/229] Building CXX object lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
FAILED: lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/include -I/home/b/sanitizer-aarch64-linux-fuzzer/build/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 -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -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/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/include/llvm/MC/MCExpr.h:196:8: note: 'llvm::MCSymbolRefExpr::VariantKind' declared here
  196 |   enum VariantKind : uint16_t {
      |        ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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;
      |                              ^    ~~~~~~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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);
      |                                                             ^~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59: note: passing argument to parameter 'VK' here
  518 |                                   RISCVMCExpr::Specifier &VK) {
      |                                                           ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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.
[111/229] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o
[112/229] Building CXX object lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o
[113/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPostRAExpandPseudoInsts.cpp.o
[114/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRedundantCopyElimination.cpp.o
[115/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSelectionDAGInfo.cpp.o
[116/229] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPreprocessing.cpp.o
[117/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVLandingPadSetup.cpp.o
[118/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInsertReadWriteCSR.cpp.o
[119/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMakeCompressible.cpp.o
[120/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o
[121/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMoveMerger.cpp.o
[122/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorMaskDAGMutation.cpp.o
[123/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVRegisterBankInfo.cpp.o
[124/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVExpandAtomicPseudoInsts.cpp.o
[125/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.cpp.o
[126/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVIndirectBranchTracking.cpp.o
[127/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVDeadRegisterDefinitions.cpp.o
Step 7 (stage1 build all) failure: stage1 build all (failure)
...
[101/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVInstPrinter.cpp.o
[102/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o
[103/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCExpr.cpp.o
[104/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVTargetStreamer.cpp.o
[105/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o
[106/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o
[107/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o
[108/229] Building CXX object lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o
[109/229] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o
[110/229] Building CXX object lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
FAILED: lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/include -I/home/b/sanitizer-aarch64-linux-fuzzer/build/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 -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -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/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/include/llvm/MC/MCExpr.h:196:8: note: 'llvm::MCSymbolRefExpr::VariantKind' declared here
  196 |   enum VariantKind : uint16_t {
      |        ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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;
      |                              ^    ~~~~~~~~~~~~~~~~~~~~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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);
      |                                                             ^~
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59: note: passing argument to parameter 'VK' here
  518 |                                   RISCVMCExpr::Specifier &VK) {
      |                                                           ^
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/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.
[111/229] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o
[112/229] Building CXX object lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o
[113/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPostRAExpandPseudoInsts.cpp.o
[114/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRedundantCopyElimination.cpp.o
[115/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSelectionDAGInfo.cpp.o
[116/229] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPreprocessing.cpp.o
[117/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVLandingPadSetup.cpp.o
[118/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInsertReadWriteCSR.cpp.o
[119/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMakeCompressible.cpp.o
[120/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o
[121/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMoveMerger.cpp.o
[122/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorMaskDAGMutation.cpp.o
[123/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVRegisterBankInfo.cpp.o
[124/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVExpandAtomicPseudoInsts.cpp.o
[125/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.cpp.o
[126/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVIndirectBranchTracking.cpp.o
[127/229] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVDeadRegisterDefinitions.cpp.o

```

</details>

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


More information about the llvm-commits mailing list