From 7e4e9f4a2fcb096778fb81fc96da6bb8aa966661 Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Tue, 31 Mar 2020 13:40:09 -0700 Subject: [PATCH] Fixed windows failure after D74873 Print format LaneBitmask was set as "%016lX" but should be "%016llX" for 64 bit support on Windows. --- llvm/include/llvm/MC/LaneBitmask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/MC/LaneBitmask.h b/llvm/include/llvm/MC/LaneBitmask.h index b070bea..a467407 100644 --- a/llvm/include/llvm/MC/LaneBitmask.h +++ b/llvm/include/llvm/MC/LaneBitmask.h @@ -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) {} -- 2.7.4