[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:22:38 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py --jobs=8
 in dir /scratch/buildbot/bothome/clang-ve-ninja/build (timeout 1200 secs)
 watching logfiles {}
 argv: [b'python', b'../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py', b'--jobs=8']
 environment:
  ASM=/home/buildbot/install/bin/clang
  BUILDBOT_BLAMELIST=[]
  BUILDBOT_BRANCH=main
  BUILDBOT_BUILDERNAME=clang-ve-ninja
  BUILDBOT_BUILDNUMBER=379
  BUILDBOT_CLOBBER=
  BUILDBOT_GOT_REVISION=6859685a87ad093d60c8bed60b116143c0a684c7
  BUILDBOT_REVISION=6859685a87ad093d60c8bed60b116143c0a684c7
  BUILDBOT_SCHEDULER=main:clang,compiler-rt,libcxx,llvm
  CC=ccache /home/buildbot/install/bin/clang
  CPATH=:/home/buildbot/prefix/include
  CXX=ccache /home/buildbot/install/bin/clang++
  HOME=/home/buildbot
  LANG=en_US.UTF-8
  LD_LIBRARY_PATH=:/home/buildbot/prefix/lib:/home/buildbot/prefix/lib64
  LIBRARY_PATH=:/home/buildbot/prefix/lib:/home/buildbot/prefix/lib64
  LOGNAME=buildbot
  PATH=/home/buildbot/sandbox/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/home/buildbot/prefix/bin
  PS1=(sandbox) 
  PWD=/scratch/buildbot/bothome/clang-ve-ninja/build
  SHELL=/bin/bash
  SHLVL=2
  TERM=dumb
  USER=buildbot
  VE_NODE_NUMBER=0
  VIRTUAL_ENV=/home/buildbot/sandbox
  _=/home/buildbot/sandbox/bin/buildbot-worker
  ftp_proxy=10.0.20.1:3128
  http_proxy=10.0.20.1:3128
  https_proxy=10.0.20.1:3128
 using PTY: False
Step 7 (build-llvm) failure: build-llvm (failure)
...
[2104/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/StringTableBuilder.cpp.o
[2105/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/TargetRegistry.cpp.o
[2106/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCGOFFStreamer.cpp.o
[2107/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/XCOFFObjectWriter.cpp.o
[2108/3931] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o
[2109/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o
[2110/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSection.cpp.o
[2111/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCExpr.cpp.o
[2112/3931] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/GOFFAsmParser.cpp.o
[2113/3931] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
FAILED: lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o 
/usr/bin/ccache  /home/buildbot/install/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/MC -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/lib/MC -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include -O2 -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 -O2 -g -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -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 /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/lib/MC/MCContext.cpp
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/lib/MC/MCContext.cpp:328:61: error: invalid operands to binary expression ('llvm::StringRef' and 'const llvm::Twine')
  return createRenamableSymbol(MAI->getPrivateLabelPrefix() << Name,
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/ADT/Twine.h:572:23: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
  inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
                      ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/Support/raw_ostream.h:783:14: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
             ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/Support/VersionTuple.h:191:14: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
raw_ostream &operator<<(raw_ostream &Out, const VersionTuple &V);
             ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/ADT/APInt.h:2128:21: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
inline raw_ostream &operator<<(raw_ostream &OS, const APInt &I) {
                    ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/MC/MCInst.h:241:21: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
inline raw_ostream& operator<<(raw_ostream &OS, const MCOperand &MO) {
                    ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/MC/MCInst.h:246:21: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
inline raw_ostream& operator<<(raw_ostream &OS, const MCInst &MI) {
                    ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/MC/MCExpr.h:138:21: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
                    ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/MC/MCLabel.h:49:21: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
inline raw_ostream &operator<<(raw_ostream &OS, const MCLabel &Label) {
                    ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/MC/MCSymbol.h:437:21: note: candidate function not viable: no known conversion from 'llvm::StringRef' to 'llvm::raw_ostream &' for 1st argument
inline raw_ostream &operator<<(raw_ostream &OS, const MCSymbol &Sym) {
                    ^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/Support/raw_ostream.h:437:1: note: candidate template ignored: requirement 'std::is_base_of_v<llvm::raw_ostream, llvm::StringRef>' was not satisfied [with OStream = llvm::StringRef, T = llvm::Twine]
operator<<(OStream &&OS, const T &Value) {
^
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include/llvm/Support/raw_ostream.h:787:14: note: candidate template ignored: could not match 'const std::optional<T>' against 'const llvm::Twine'
raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &O) {
             ^
1 error generated.

```

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


More information about the llvm-commits mailing list