[llvm] 7e4e9f4 - Fixed windows failure after D74873
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 31 14:07:17 PDT 2020
Author: Stanislav Mekhanoshin
Date: 2020-03-31T14:07:07-07:00
New Revision: 7e4e9f4a2fcb096778fb81fc96da6bb8aa966661
URL: https://github.com/llvm/llvm-project/commit/7e4e9f4a2fcb096778fb81fc96da6bb8aa966661
DIFF: https://github.com/llvm/llvm-project/commit/7e4e9f4a2fcb096778fb81fc96da6bb8aa966661.diff
LOG: Fixed windows failure after D74873
Print format LaneBitmask was set as "%016lX" but should be
"%016llX" for 64 bit support on Windows.
Added:
Modified:
llvm/include/llvm/MC/LaneBitmask.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/MC/LaneBitmask.h b/llvm/include/llvm/MC/LaneBitmask.h
index b070bea3201c..a467407f1706 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) {}
More information about the llvm-commits
mailing list