[llvm] [polly] [SCEV] Move NoWrapFlags definition outside SCEV scope, use for SCEVUse. (PR #190199)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 10:05:00 PDT 2026


github-actions[bot] wrote:

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

* 61343 tests passed
* 1542 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=4294967295] unittests/Support/SupportTests.exe</summary>

```
FAILED: [code=4294967295] unittests/Support/SupportTests.exe
C:\Windows\system32\cmd.exe /C "cd . && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E vs_link_exe --msvc-ver=1944 --intdir=unittests\Support\CMakeFiles\SupportTests.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\mt.exe" --manifests  -- C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\SupportTests.rsp  /out:unittests\Support\SupportTests.exe /implib:unittests\Support\SupportTests.lib /pdb:unittests\Support\SupportTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console && cd ."
LINK: command "C:\clang\clang-msvc\bin\lld-link.exe /nologo @CMakeFiles\SupportTests.rsp /out:unittests\Support\SupportTests.exe /implib:unittests\Support\SupportTests.lib /pdb:unittests\Support\SupportTests.pdb /version:0.0 /MANIFEST:NO /STACK:10000000 /INCREMENTAL:NO /subsystem:console" failed (exit code 1) with the following output:
lld-link: error: undefined symbol: protected: void __cdecl llvm::SmallVectorBase<unsigned int>::grow_pod(void *, unsigned __int64, unsigned __int64)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(private: class llvm::AddressRange * __cdecl llvm::SmallVectorImpl<class llvm::AddressRange>::insert_one_impl<class llvm::AddressRange>(class llvm::AddressRange *, class llvm::AddressRange &&))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(private: class llvm::AddressRange * __cdecl llvm::SmallVectorImpl<class llvm::AddressRange>::insert_one_impl<class llvm::AddressRange>(class llvm::AddressRange *, class llvm::AddressRange &&))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(private: class llvm::AddressRangeValuePair * __cdecl llvm::SmallVectorImpl<class llvm::AddressRangeValuePair>::insert_one_impl<class llvm::AddressRangeValuePair const &>(class llvm::AddressRangeValuePair *, class llvm::AddressRangeValuePair const &))
>>> referenced 213 more times

lld-link: error: undefined symbol: public: class llvm::raw_ostream & __cdecl llvm::raw_ostream::operator<<(unsigned __int64)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl testing::PrintToString<unsigned __int64>(unsigned __int64 const &))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 24 more times

lld-link: error: undefined symbol: public: virtual __cdecl llvm::raw_os_ostream::~raw_os_ostream(void)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl testing::PrintToString<unsigned __int64>(unsigned __int64 const &))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(public: virtual void * __cdecl llvm::raw_os_ostream::`scalar deleting dtor'(unsigned int))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class testing::AssertionResult __cdecl testing::internal::CmpHelperOpFailure<class llvm::AddressRange, class llvm::AddressRange>(char const *, char const *, class llvm::AddressRange const &, class llvm::AddressRange const &, char const *))
>>> referenced 805 more times

lld-link: error: undefined symbol: public: class llvm::raw_ostream & __cdecl llvm::raw_ostream::write(char const *, unsigned __int64)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class testing::AssertionResult __cdecl testing::internal::CmpHelperOpFailure<class llvm::AddressRange, class llvm::AddressRange>(char const *, char const *, class llvm::AddressRange const &, class llvm::AddressRange const &, char const *))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class testing::AssertionResult __cdecl testing::internal::CmpHelperOpFailure<class llvm::AddressRange, class llvm::AddressRange>(char const *, char const *, class llvm::AddressRange const &, class llvm::AddressRange const &, char const *))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(public: class testing::AssertionResult & __cdecl testing::AssertionResult::operator<<<char[12]>(char const (&)[12]))
>>> referenced 2308 more times

lld-link: error: undefined symbol: public: class llvm::raw_ostream & __cdecl llvm::raw_ostream::operator<<(unsigned long)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl testing::PrintToString<unsigned int>(unsigned int const &))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 28 more times

lld-link: error: undefined symbol: public: class llvm::raw_ostream & __cdecl llvm::raw_ostream::operator<<(long)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl testing::PrintToString<int>(int const &))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ArrayRecyclerTest.cpp.obj
>>> referenced 406 more times

lld-link: error: undefined symbol: public: class llvm::raw_ostream & __cdecl llvm::raw_ostream::operator<<(__int64)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl testing::PrintToString<__int64>(__int64 const &))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\BinaryStreamTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\CheckedArithmeticTest.cpp.obj:(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl testing::PrintToString<class std::optional<__int64>>(class std::optional<__int64> const &))
>>> referenced 16 more times

lld-link: error: undefined symbol: public: virtual class llvm::raw_ostream & __cdecl llvm::raw_ostream::changeColor(enum llvm::raw_ostream::Colors, bool, bool)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(.rdata)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 19 more times

lld-link: error: undefined symbol: public: virtual class llvm::raw_ostream & __cdecl llvm::raw_ostream::resetColor(void)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(.rdata)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 19 more times

lld-link: error: undefined symbol: public: virtual class llvm::raw_ostream & __cdecl llvm::raw_ostream::reverseColor(void)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(.rdata)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 19 more times

lld-link: error: undefined symbol: private: virtual void __cdecl llvm::raw_os_ostream::write_impl(char const *, unsigned __int64)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(.rdata)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 1 more times

lld-link: error: undefined symbol: private: virtual unsigned __int64 __cdecl llvm::raw_os_ostream::current_pos(void) const
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(.rdata)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 1 more times

lld-link: error: undefined symbol: protected: virtual unsigned __int64 __cdecl llvm::raw_ostream::preferred_buffer_size(void) const
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(.rdata)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 14 more times

lld-link: error: undefined symbol: private: virtual void __cdecl llvm::raw_ostream::anchor(void)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AddressRangeTest.cpp.obj:(.rdata)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AlignmentTest.cpp.obj
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj
>>> referenced 11 more times

lld-link: error: undefined symbol: void __cdecl llvm::deallocate_buffer(void *, unsigned __int64, unsigned __int64)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::AllocatorTest_Basics_Test::TestBody(void))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::AllocatorTest_Basics_Test::TestBody(void))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj:(private: virtual void __cdecl `anonymous namespace'::AllocatorTest_Basics_Test::TestBody(void))
>>> referenced 668 more times

lld-link: error: undefined symbol: void * __cdecl llvm::allocate_buffer(unsigned __int64, unsigned __int64)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj:(public: void * __cdecl llvm::BumpPtrAllocatorImpl<class llvm::MallocAllocator, 4096, 4096, 128>::AllocateSlow(unsigned __int64, unsigned __int64, struct llvm::Align))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj:(public: void * __cdecl llvm::BumpPtrAllocatorImpl<class llvm::MallocAllocator, 4096, 4096, 128>::AllocateSlow(unsigned __int64, unsigned __int64, struct llvm::Align))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj:(public: void * __cdecl llvm::BumpPtrAllocatorImpl<class llvm::MallocAllocator, 4096, 4096, 1>::AllocateSlow(unsigned __int64, unsigned __int64, struct llvm::Align))
>>> referenced 28 more times

lld-link: error: undefined symbol: void __cdecl llvm::report_bad_alloc_error(char const *, bool)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\AllocatorTest.cpp.obj:(public: void * __cdecl llvm::BumpPtrAllocatorImpl<class `anonymous namespace'::MockSlabAllocator, 4096, 4096, 128>::AllocateSlow(unsigned __int64, unsigned __int64, struct llvm::Align))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ManagedStatic.cpp.obj:(public: static void * __cdecl `anonymous namespace'::CustomCreatorDeletor::CustomCreate::call(void))

lld-link: error: undefined symbol: private: void __cdecl llvm::raw_ostream::SetBufferAndMode(char *, unsigned __int64, enum llvm::raw_ostream::BufferKind)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(bool __cdecl testBuildAttr(unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(public: __cdecl llvm::raw_string_ostream::raw_string_ostream(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> &))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\BinaryStreamTest.cpp.obj:(public: virtual class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::ErrorInfoBase::message(void) const)
>>> referenced 1179 more times

lld-link: error: undefined symbol: class llvm::ArrayRef<struct llvm::TagNameItem> const & __cdecl llvm::ARMBuildAttrs::getARMAttributeTags(void)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(bool __cdecl testBuildAttr(unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(void __cdecl testParseError(class llvm::ArrayRef<unsigned char>, char const *))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(bool __cdecl testTagString(unsigned int, char const *))

lld-link: error: undefined symbol: public: virtual class llvm::Error __cdecl llvm::ELFCompactAttrParser::parse(class llvm::ArrayRef<unsigned char>, enum llvm::endianness)
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(bool __cdecl testBuildAttr(unsigned int, unsigned int, unsigned int, unsigned int))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(void __cdecl testParseError(class llvm::ArrayRef<unsigned char>, char const *))
>>> referenced by unittests\Support\CMakeFiles\SupportTests.dir\ARMAttributeParser.cpp.obj:(const llvm::ARMAttributeParser::`vftable')
>>> referenced 9 more times

lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
```
</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/190199


More information about the llvm-commits mailing list