[llvm] [NFC] Fix MSVC C4146 warnings in LLVM headers and tools (PR #225577)

Jared Wyles via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 26 02:26:35 PDT 2026


================
@@ -378,7 +378,7 @@ class MemoryDepChecker {
   /// operate on simultaneously, multiplied by the size of the element in bits.
   /// The size of the element is taken from the memory access that is most
   /// restrictive.
-  uint64_t MaxSafeVectorWidthInBits = -1U;
----------------
jaredwy wrote:

Can you split this commit into two? 
The changes that are similar to the PRs you mentioned.

isSafeForAnyVectorWidth compares against UINT_MAX not std::numeric_limits<uint64_t>::max(); can you create a second PR that is not NFC that adjust this? 

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


More information about the llvm-commits mailing list