[llvm] [SandboxIR] sandboxir::Use operands (part 1) and uses (part 2) (PR #98251)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 15:11:50 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building `llvm` at step 5 "compile-openmp".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (compile-openmp) failure: build (failure)
...
10.437 [1903/32/2269] Linking CXX executable bin/llvm-config
10.441 [1902/32/2270] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageExporterLcov.cpp.o
10.448 [1901/32/2271] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageReport.cpp.o
10.605 [1900/32/2272] Linking CXX executable bin/llvm-bcanalyzer
10.634 [1899/32/2273] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o
10.662 [1898/32/2274] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o
10.721 [1897/32/2275] Building R600GenRegisterInfo.inc...
10.727 [1896/32/2276] Building R600GenSubtargetInfo.inc...
10.731 [1895/32/2277] Building CXX object tools/clang/lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o
11.044 [1894/32/2278] Building CXX object lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o
FAILED: lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.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 -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/SandboxIR -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/SandboxIR -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/include -I/home/ompworker/bbot/openmp-offload-amdgpu-runtime/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-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o -MF lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o.d -o lib/SandboxIR/CMakeFiles/LLVMSandboxIR.dir/SandboxIR.cpp.o -c /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/SandboxIR/SandboxIR.cpp
In file included from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include/llvm/SandboxIR/SandboxIR.h:115:7: error: declaration of ‘llvm::sandboxir::Use llvm::sandboxir::OperandUseIterator::Use’ changes meaning of ‘Use’ [-fpermissive]
  115 |   Use Use;
      |       ^~~
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: ‘Use’ declared here as ‘class llvm::sandboxir::Use’
   81 | class Use {
      |       ^~~
In file included from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include/llvm/SandboxIR/SandboxIR.h:142:7: error: declaration of ‘llvm::sandboxir::Use llvm::sandboxir::UserUseIterator::Use’ changes meaning of ‘Use’ [-fpermissive]
  142 |   Use Use;
      |       ^~~
In file included from /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/SandboxIR/SandboxIR.cpp:9:
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/include/llvm/SandboxIR/SandboxIR.h:81:7: note: ‘Use’ declared here as ‘class llvm::sandboxir::Use’
   81 | class Use {
      |       ^~~
11.140 [1894/31/2279] Building X86GenDAGISel.inc...
11.198 [1894/30/2280] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o
11.205 [1894/29/2281] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o
11.440 [1894/28/2282] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o
11.447 [1894/27/2283] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o
11.456 [1894/26/2284] Building CXX object tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o
11.485 [1894/25/2285] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o
11.527 [1894/24/2286] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o
11.633 [1894/23/2287] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o
12.365 [1894/22/2288] Building X86GenSubtargetInfo.inc...
12.998 [1894/21/2289] Building CXX object lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o
13.813 [1894/20/2290] Building X86GenInstrInfo.inc...
20.966 [1894/19/2291] Building AMDGPUGenCallingConv.inc...
21.841 [1894/18/2292] Building AMDGPUGenRegBankGICombiner.inc...
21.920 [1894/17/2293] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o
22.296 [1894/16/2294] Building AMDGPUGenPreLegalizeGICombiner.inc...
22.887 [1894/15/2295] Building AMDGPUGenMCCodeEmitter.inc...
23.078 [1894/14/2296] Building AMDGPUGenPostLegalizeGICombiner.inc...
23.641 [1894/13/2297] Building AMDGPUGenSearchableTables.inc...
24.721 [1894/12/2298] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
25.692 [1894/11/2299] Building AMDGPUGenMCPseudoLowering.inc...
25.804 [1894/10/2300] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o

```

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


More information about the llvm-commits mailing list