OSDN Git Service

[MergeICmps] Fix build of rL312315 on clang-with-thin-lto-windows:
authorClement Courbet <courbet@google.com>
Fri, 1 Sep 2017 11:51:23 +0000 (11:51 +0000)
committerClement Courbet <courbet@google.com>
Fri, 1 Sep 2017 11:51:23 +0000 (11:51 +0000)
commit50c7531ed47b183d1d1231cd2dbba336888fe0bb
treea3ea0358ab8e5698000c648f96e895205508b332
parent88eda0cc8a2d68a404e7a5216c78e84224ab49ff
[MergeICmps] Fix build of rL312315 on clang-with-thin-lto-windows:

MergeICmps.cpp(68,15): error: chosen constructor is explicit in copy-initialization
      return {};
APInt.h(339,12): note: explicit constructor declared here
  explicit APInt() : BitWidth(1) { U.VAL = 0; }
             ^
MergeICmps.cpp(56,9): note: in implicit initialization of field 'Offset' with omitted
initializer
  APInt Offset;
          ^

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312326 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MergeICmps.cpp