[llvm] [PowerPC] cost modeling for length type VP intrinsic load/store (PR #168938)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 13:01:20 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 2986 tests passed
* 30 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>[code=1] lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCTargetTransformInfo.cpp.obj</summary>

```
FAILED: [code=1] lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCTargetTransformInfo.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-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_GLIBCXX_ASSERTIONS -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 -Ilib\Target\PowerPC -IC:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Folib\Target\PowerPC\CMakeFiles\LLVMPowerPCCodeGen.dir\PPCTargetTransformInfo.cpp.obj /Fdlib\Target\PowerPC\CMakeFiles\LLVMPowerPCCodeGen.dir\LLVMPowerPCCodeGen.pdb -c -- C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetTransformInfo.cpp
In file included from C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetTransformInfo.cpp:9:
C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetTransformInfo.h(169,61): error: only virtual member functions can be marked 'override'
169 |                         TTI::TargetCostKind CostKind) const override;
|                                                             ^~~~~~~~
C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetTransformInfo.cpp(1139,30): error: no member named 'getMaskedMemoryOpCost' in 'llvm::BasicTTIImplBase<llvm::PPCTTIImpl>'; did you mean simply 'getMaskedMemoryOpCost'?
1139 |   InstructionCost BaseCost = BaseT::getMaskedMemoryOpCost(MICA, CostKind);
|                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                              getMaskedMemoryOpCost
C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetTransformInfo.cpp(1131,13): note: 'getMaskedMemoryOpCost' declared here
1131 | PPCTTIImpl::getMaskedMemoryOpCost(const MemIntrinsicCostAttributes &MICA,
|             ^
2 errors generated.
```
</details>
<details>
<summary>[code=1] lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCTargetMachine.cpp.obj</summary>

```
FAILED: [code=1] lib/Target/PowerPC/CMakeFiles/LLVMPowerPCCodeGen.dir/PPCTargetMachine.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-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_GLIBCXX_ASSERTIONS -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 -Ilib\Target\PowerPC -IC:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Folib\Target\PowerPC\CMakeFiles\LLVMPowerPCCodeGen.dir\PPCTargetMachine.cpp.obj /Fdlib\Target\PowerPC\CMakeFiles\LLVMPowerPCCodeGen.dir\LLVMPowerPCCodeGen.pdb -c -- C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetMachine.cpp
In file included from C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetMachine.cpp:21:
C:\_work\llvm-project\llvm-project\llvm\lib\Target\PowerPC\PPCTargetTransformInfo.h(169,61): error: only virtual member functions can be marked 'override'
169 |                         TTI::TargetCostKind CostKind) const override;
|                                                             ^~~~~~~~
1 error generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list