[clang] [llvm] [mlir] [polly] [NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (PR #111752)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 05:33:31 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 `clang,llvm,mlir,polly` at step 6 "build-unified-tree".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (build-unified-tree) failure: build (failure)
...
[1243/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\GCMetadata.cpp.obj
[1244/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGExprScalar.cpp.obj
[1245/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\GCMetadataPrinter.cpp.obj
[1246/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGException.cpp.obj
[1247/4059] Building CXX object lib\CodeGen\GlobalISel\CMakeFiles\LLVMGlobalISel.dir\CombinerHelperVectorOps.cpp.obj
[1248/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGExprComplex.cpp.obj
[1249/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\BreakFalseDeps.cpp.obj
[1250/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGCXX.cpp.obj
[1251/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGCUDANV.cpp.obj
[1252/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGBuiltin.cpp.obj
FAILED: tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.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\tools\clang\lib\CodeGen -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\clang\lib\CodeGen -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\clang\include -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\tools\clang\include -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 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -MD  /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGBuiltin.cpp.obj /Fdtools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\ /FS -c C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\clang\lib\CodeGen\CGBuiltin.cpp
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\clang\lib\CodeGen\CGBuiltin.cpp(18885): error C2039: 'getDeclaration': is not a member of 'llvm::Intrinsic'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\include\llvm/IR/IntrinsicsX86.h(11): note: see declaration of 'llvm::Intrinsic'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\clang\lib\CodeGen\CGBuiltin.cpp(18885): error C3861: 'getDeclaration': identifier not found
[1253/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\BasicBlockPathCloning.cpp.obj
[1254/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGOpenMPRuntimeGPU.cpp.obj
[1255/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGNonTrivialStruct.cpp.obj
[1256/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGBlocks.cpp.obj
[1257/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGClass.cpp.obj
[1258/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGDecl.cpp.obj
[1259/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\AggressiveAntiDepBreaker.cpp.obj
[1260/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\BasicTargetTransformInfo.cpp.obj
[1261/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\CalcSpillWeights.cpp.obj
[1262/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\BasicBlockSections.cpp.obj
[1263/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\BackendUtil.cpp.obj
[1264/4059] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\Verifier.cpp.obj
[1265/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGObjCMac.cpp.obj
[1266/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\MachineLICM.cpp.obj
[1267/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\BasicBlockSectionsProfileReader.cpp.obj
[1268/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGObjCGNU.cpp.obj
[1269/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\CFIFixup.cpp.obj
[1270/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGExpr.cpp.obj
[1271/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\CallingConvLower.cpp.obj
[1272/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\ExpandReductions.cpp.obj
[1273/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\FuncletLayout.cpp.obj
[1274/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\BranchFolding.cpp.obj
[1275/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\ExecutionDomainFix.cpp.obj
[1276/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\CFGuardLongjmp.cpp.obj
[1277/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\FEntryInserter.cpp.obj
[1278/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\DetectDeadLanes.cpp.obj
[1279/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\AtomicExpandPass.cpp.obj
[1280/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\DeadMachineInstructionElim.cpp.obj
[1281/4059] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGStmt.cpp.obj
[1282/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\EdgeBundles.cpp.obj
[1283/4059] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\AutoUpgrade.cpp.obj
[1284/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\IndirectBrExpandPass.cpp.obj
[1285/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\DFAPacketizer.cpp.obj
[1286/4059] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\ExpandVectorPredication.cpp.obj

```

</details>

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


More information about the cfe-commits mailing list