[llvm] [VPlan] Use pointer index type for stride in convertToStridedAccesses (PR #199647)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 03:37:43 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-dylib` running on `bolt-worker` while building `llvm` at step 5 "build-bolt".

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

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

```
Step 5 (build-bolt) failure: build (failure)
...
11.800 [185/14/694] Linking CXX static library lib/libLLVMBOLTProfile.a
11.813 [185/13/695] Linking CXX static library lib/libLLVMBOLTTargetX86.a
11.834 [185/12/696] Linking CXX static library lib/libLLVMBOLTPasses.a
11.869 [184/12/697] Linking CXX static library lib/libLLVMBOLTRuntimeLibs.a
12.037 [184/11/698] Building RISCVGenPostLegalizeGICombiner.inc...
12.756 [184/10/699] Building RISCVGenPreLegalizeGICombiner.inc...
12.857 [184/9/700] Building RISCVGenSearchableTables.inc...
13.038 [184/8/701] Building RISCVGenRegisterInfo.inc...
14.392 [184/7/702] Building RISCVGenSubtargetInfo.inc...
14.891 [184/6/703] Building CXX object lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o
FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/lib/Transforms/Vectorize -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/Transforms/Vectorize -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -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-array-bounds -Wno-stringop-overread -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 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/VPlanTransforms.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp: In static member function ‘static void llvm::VPlanTransforms::convertToStridedAccesses(llvm::VPlan&, llvm::PredicatedScalarEvolution&, llvm::Loop&, llvm::VPCostContext&, llvm::VFRange&)’:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-dylib/llvm-project/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp:7029:45: error: ‘TypeInfo’ was not declared in this scope
 7029 |           Plan.getDataLayout().getIndexType(TypeInfo.inferScalarType(Ptr));
      |                                             ^~~~~~~~
16.333 [184/5/704] Building AArch64GenSubtargetInfo.inc...
16.734 [184/4/705] Building AArch64GenInstrInfo.inc...
19.275 [164/3/706] Building RISCVGenInstrInfo.inc...
19.957 [150/2/707] Building RISCVGenDAGISel.inc...
20.520 [150/1/708] Building RISCVGenGlobalISel.inc...
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the llvm-commits mailing list