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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building `llvm` at step 6 "build stage 1".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (build stage 1) failure: 'ninja' (failure)
...
[16/335] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o
[17/335] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinCOFFStreamer.cpp.o
[18/335] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectFileInfo.cpp.o
[19/335] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFAsmParser.cpp.o
[20/335] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFMasmParser.cpp.o
[21/335] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfo.cpp.o
[22/335] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCExpr.cpp.o
[23/335] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/WasmAsmParser.cpp.o
[24/335] Building CXX object tools/llvm-mc/CMakeFiles/llvm-mc.dir/Disassembler.cpp.o
[25/335] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
FAILED: lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o 
/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/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC -Iinclude -I/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include -march=cascadelake -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-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 -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -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 /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC/MCContext.cpp
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC/MCContext.cpp: In member function ‘llvm::MCSymbol* llvm::MCContext::createBlockSymbol(const llvm::Twine&, bool)’:
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC/MCContext.cpp:328:61: error: no match for ‘operator<<’ (operand types are ‘llvm::StringRef’ and ‘const llvm::Twine’)
  328 |   return createRenamableSymbol(MAI->getPrivateLabelPrefix() << Name,
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~
      |                                                          |     |
      |                                                          |     const llvm::Twine
      |                                                          llvm::StringRef
In file included from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/Support/FormatVariadicDetails.h:14,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/BinaryFormat/Dwarf.h:26,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/MC/MCContext.h:18,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC/MCContext.cpp:9:
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/Support/raw_ostream.h:437:1: note: candidate: ‘template<class OStream, class T> std::enable_if_t<((! is_reference_v<OStream>) && is_base_of_v<llvm::raw_ostream, OStream>), OStream&&> llvm::operator<<(OStream&&, const T&)’
  437 | operator<<(OStream &&OS, const T &Value) {
      | ^~~~~~~~
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/Support/raw_ostream.h:437:1: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/move.h:57,
                 from /usr/include/c++/11/bits/stl_pair.h:59,
                 from /usr/include/c++/11/utility:70,
                 from /usr/include/c++/11/tuple:38,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/ADT/DenseMapInfo.h:20,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/ADT/DenseMap.h:17,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/MC/MCContext.h:12,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC/MCContext.cpp:9:
/usr/include/c++/11/type_traits: In substitution of ‘template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = llvm::StringRef&&]’:
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/Support/raw_ostream.h:437:1:   required by substitution of ‘template<class OStream, class T> std::enable_if_t<((! is_reference_v<OStream>) && is_base_of_v<llvm::raw_ostream, OStream>), OStream&&> llvm::operator<<(OStream&&, const T&) [with OStream = llvm::StringRef; T = llvm::Twine]’
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC/MCContext.cpp:328:64:   required from here
/usr/include/c++/11/type_traits:2585:11: error: no type named ‘type’ in ‘struct std::enable_if<false, llvm::StringRef&&>’
 2585 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~
In file included from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/Support/FormatVariadicDetails.h:14,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/BinaryFormat/Dwarf.h:26,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/MC/MCContext.h:18,
                 from /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/lib/MC/MCContext.cpp:9:
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/Support/raw_ostream.h:787:14: note: candidate: ‘template<class T, class> llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const std::optional<_Tp>&)’
  787 | raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &O) {
      |              ^~~~~~~~
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/include/llvm/Support/raw_ostream.h:787:14: note:   template argument deduction/substitution failed:

```

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


More information about the llvm-commits mailing list