-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Open
Labels
build-problemclangClang issues not falling into any other categoryClang issues not falling into any other categoryclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzermlir
Description
When building with clang 20.1.8:
[197/673] Building CXX object tools/ml....MLIRVectorToGPU.dir/VectorToGPU.cpp.o
FAILED: tools/mlir/lib/Conversion/VectorToGPU/CMakeFiles/obj.MLIRVectorToGPU.dir/VectorToGPU.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/lib64/ccache/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/npopov/repos/llvm-project/build/tools/mlir/lib/Conversion/VectorToGPU -I/home/npopov/repos/llvm-project/mlir/lib/Conversion/VectorToGPU -I/home/npopov/repos/llvm-project/build/tools/mlir/include -I/home/npopov/repos/llvm-project/mlir/include -I/home/npopov/repos/llvm-project/build/include -I/home/npopov/repos/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/mlir/lib/Conversion/VectorToGPU/CMakeFiles/obj.MLIRVectorToGPU.dir/VectorToGPU.cpp.o -MF tools/mlir/lib/Conversion/VectorToGPU/CMakeFiles/obj.MLIRVectorToGPU.dir/VectorToGPU.cpp.o.d -o tools/mlir/lib/Conversion/VectorToGPU/CMakeFiles/obj.MLIRVectorToGPU.dir/VectorToGPU.cpp.o -c /home/npopov/repos/llvm-project/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
In file included from /home/npopov/repos/llvm-project/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp:13:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/Conversion/VectorToGPU/VectorToGPU.h:12:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/IR/PatternMatch.h:12:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/IR/Builders.h:12:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/IR/OpDefinition.h:22:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/IR/Dialect.h:16:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/IR/DialectRegistry.h:16:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/IR/MLIRContext.h:13:
In file included from /home/npopov/repos/llvm-project/mlir/include/mlir/Support/TypeID.h:20:
In file included from /home/npopov/repos/llvm-project/llvm/include/llvm/ADT/STLExtras.h:23:
/home/npopov/repos/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:45:14: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
45 | static Ret callback_fn(intptr_t callable, Params ...params) {
| ^
From the error message, I can't figure out where this unrolling request is actually coming from...
Metadata
Metadata
Assignees
Labels
build-problemclangClang issues not falling into any other categoryClang issues not falling into any other categoryclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzermlir