[llvm] [VPlan] Use target's index type for {First,Last}ActiveLane instead of i64 (PR #186361)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 18 08:14:19 PDT 2026
lukel97 wrote:
> Buildbot failures (https://lab.llvm.org/buildbot/#/builders/97/builds/12155):
>
> ```
> FAILED: lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.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/workers/polly-x86_64-gce2/polly-x86_64-linux-shlib/build/llvm.build/lib/Transforms/Vectorize -I/home/worker/workers/polly-x86_64-gce2/polly-x86_64-linux-shlib/llvm.src/llvm/lib/Transforms/Vectorize -I/home/worker/workers/polly-x86_64-gce2/polly-x86_64-linux-shlib/build/llvm.build/include -I/home/worker/workers/polly-x86_64-gce2/polly-x86_64-linux-shlib/llvm.src/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-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -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 -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o -MF lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o.d -o lib/Transforms/Vectorize/CMakeFiles/LLVMVectorize.dir/LoopVectorize.cpp.o -c /home/worker/workers/polly-x86_64-gce2/polly-x86_64-linux-shlib/llvm.src/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
> In file included from ../../llvm.src/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:60:
> ../../llvm.src/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:50:21: error: declaration of ‘const llvm::DataLayout& llvm::VPTypeAnalysis::DataLayout’ changes meaning of ‘DataLayout’ [-Wchanges-meaning]
> 50 | const DataLayout &DataLayout;
> | ^~~~~~~~~~
> ../../llvm.src/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h:50:9: note: used here to mean ‘class llvm::DataLayout’
> 50 | const DataLayout &DataLayout;
> | ^~~~~~~~~~
> In file included from ../../llvm.src/llvm/include/llvm/Analysis/InterestingMemoryOperand.h:17,
> from ../../llvm.src/llvm/include/llvm/Analysis/TargetTransformInfo.h:29,
> from ../../llvm.src/llvm/include/llvm/Transforms/Utils/LoopUtils.h:16,
> from ../../llvm.src/llvm/include/llvm/Transforms/Scalar/LoopPassManager.h:48,
> from ../../llvm.src/llvm/include/llvm/Transforms/Utils/ExtraPassManager.h:19,
> from ../../llvm.src/llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h:62,
> from ../../llvm.src/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:56:
> ../../llvm.src/llvm/include/llvm/IR/DataLayout.h:64:7: note: declared here
> 64 | class DataLayout {
> | ^~~~~~~~~~
> ```
Thanks for the heads up, pushed 9871ad1c8a54a4772877622d82ea05d29c1a94bd to hopefully fix it
https://github.com/llvm/llvm-project/pull/186361
More information about the llvm-commits
mailing list