[llvm] [CodeGen] Use temp symbol for MBBs (PR #95031)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 04:21:44 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 5 "compile-openmp".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (compile-openmp) failure: build (failure)
...
24.414 [4228/32/2558] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSubtargetInfo.cpp.o
24.449 [4227/32/2559] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbolELF.cpp.o
24.480 [4226/32/2560] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbolXCOFF.cpp.o
24.512 [4225/32/2561] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCTargetOptions.cpp.o
24.528 [4224/32/2562] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCDXContainerWriter.cpp.o
24.549 [4223/32/2563] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCTargetOptionsCommandFlags.cpp.o
24.572 [4222/32/2564] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCValue.cpp.o
24.583 [4221/32/2565] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmObjectTargetWriter.cpp.o
24.618 [4220/32/2566] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmStreamer.cpp.o
24.626 [4219/32/2567] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
FAILED: lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o 
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/MC -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/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-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++1z -MD -MT lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o -MF lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o.d -o lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp: In member function ‘llvm::MCSymbol* llvm::MCContext::createBlockSymbol(const llvm::Twine&, bool)’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp:328:61: error: no match for ‘operator<<’ (operand types are ‘llvm::StringRef’ and ‘const llvm::Twine’)
   return createRenamableSymbol(MAI->getPrivateLabelPrefix() << Name,
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCSymbolELF.h:11:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCSectionELF.h:20,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp:28:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCSymbol.h:437:21: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::MCSymbol&)
 inline raw_ostream &operator<<(raw_ostream &OS, const MCSymbol &Sym) {
                     ^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCSymbol.h:437:21: note:   no known conversion for argument 1 from ‘llvm::StringRef’ to ‘llvm::raw_ostream&’
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp:25:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCLabel.h:49:21: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::MCLabel&)
 inline raw_ostream &operator<<(raw_ostream &OS, const MCLabel &Label) {
                     ^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCLabel.h:49:21: note:   no known conversion for argument 1 from ‘llvm::StringRef’ to ‘llvm::raw_ostream&’
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp:22:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCExpr.h:138:21: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::MCExpr&)
 inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
                     ^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCExpr.h:138:21: note:   no known conversion for argument 1 from ‘llvm::StringRef’ to ‘llvm::raw_ostream&’
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCFragment.h:18:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCSection.h:17,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCContext.h:23,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp:9:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCInst.h:246:21: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::MCInst&)
 inline raw_ostream& operator<<(raw_ostream &OS, const MCInst &MI) {
                     ^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCInst.h:246:21: note:   no known conversion for argument 1 from ‘llvm::StringRef’ to ‘llvm::raw_ostream&’
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCInst.h:241:21: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::MCOperand&)
 inline raw_ostream& operator<<(raw_ostream &OS, const MCOperand &MO) {
                     ^~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCInst.h:241:21: note:   no known conversion for argument 1 from ‘llvm::StringRef’ to ‘llvm::raw_ostream&’
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCAsmMacro.h:12:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/MC/MCContext.h:20,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/MC/MCContext.cpp:9:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/APInt.h:2128:21: note: candidate: llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::APInt&)

```

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


More information about the llvm-commits mailing list