Fixed windows failure after D74873
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 31 Mar 2020 20:40:09 +0000 (13:40 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 31 Mar 2020 21:07:07 +0000 (14:07 -0700)
Print format LaneBitmask was set as "%016lX" but should be
"%016llX" for 64 bit support on Windows.

llvm/include/llvm/MC/LaneBitmask.h

index b070bea..a467407 100644 (file)
@@ -40,7 +40,7 @@ namespace llvm {
     // When changing the underlying type, change the format string as well.
     using Type = uint64_t;
     enum : unsigned { BitWidth = 8*sizeof(Type) };
-    constexpr static const char *const FormatStr = "%016lX";
+    constexpr static const char *const FormatStr = "%016llX";
 
     constexpr LaneBitmask() = default;
     explicit constexpr LaneBitmask(Type V) : Mask(V) {}