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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `llvm` at step 6 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (build-unified-tree) failure: build (failure)
...
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2011/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\HardwareUnits\Scheduler.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2012/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Stages\ExecuteStage.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2013/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Instruction.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2014/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Stages\InstructionTables.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2015/3961] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCContext.cpp.obj
FAILED: lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\lib\MC -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\include -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -MD  /EHs-c- /GR- -std:c++17 /showIncludes /Folib\MC\CMakeFiles\LLVMMC.dir\MCContext.cpp.obj /Fdlib\MC\CMakeFiles\LLVMMC.dir\LLVMMC.pdb /FS -c C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp(328): error C2678: binary '<<': no operator found which takes a left-hand operand of type 'llvm::StringRef' (or there is no acceptable conversion)
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/MC/MCSymbol.h(437): note: could be 'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::MCSymbol &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/MC/MCLabel.h(49): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::MCLabel &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/MC/MCExpr.h(138): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::MCExpr &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/MC/MCInst.h(246): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::MCInst &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/MC/MCInst.h(241): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::MCOperand &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/APInt.h(2128): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::APInt &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/Support/VersionTuple.h(191): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::VersionTuple &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/Support/raw_ostream.h(783): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,std::nullopt_t)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/Twine.h(572): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const llvm::Twine &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/Support/raw_ostream.h(787): note: or       'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const std::optional<_Ty> &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp(328): note: 'llvm::raw_ostream &llvm::operator <<(llvm::raw_ostream &,const std::optional<_Ty> &)': could not deduce template argument for 'const std::optional<_Ty> &' from 'const llvm::Twine'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/Support/raw_ostream.h(437): note: or       'enable_if<!std::is_reference_v<OStream>&&std::is_base_of_v<llvm::raw_ostream,OStream>,OStream&&>::type llvm::operator <<(OStream &&,const T &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp(328): note: Failed to specialize function template 'enable_if<!std::is_reference_v<OStream>&&std::is_base_of_v<llvm::raw_ostream,OStream>,OStream&&>::type llvm::operator <<(OStream &&,const T &)'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp(328): note: With the following template arguments:
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp(328): note: 'OStream=llvm::StringRef'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp(328): note: 'T=llvm::Twine'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/Support/raw_ostream.h(434): note: 'std::enable_if_t<false,llvm::StringRef&&>' : Failed to specialize alias template
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\MC\MCContext.cpp(328): note: while trying to match the argument list '(llvm::StringRef, const llvm::Twine)'
[2016/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Stages\EntryStage.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2017/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Support.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2018/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Stages\InOrderIssueStage.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2019/3961] Building CXX object lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\DebugHandlerBase.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2020/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Stages\Stage.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2021/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\Stages\MicroOpQueueStage.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2022/3961] Building CXX object lib\MCA\CMakeFiles\LLVMMCA.dir\View.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2023/3961] Building CXX object lib\MC\CMakeFiles\LLVMMC.dir\MCCodeView.cpp.obj
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/DenseMapInfo.h(145): warning C4293: '>>': shift count negative or too big, undefined behavior
[2024/3961] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineInstr.cpp.obj

```

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


More information about the llvm-commits mailing list