Fix compiler warning when using clang 3.6.0
authorMikael Holmen <mikael.holmen@ericsson.com>
Tue, 29 Jan 2019 06:51:28 +0000 (06:51 +0000)
committerMikael Holmen <mikael.holmen@ericsson.com>
Tue, 29 Jan 2019 06:51:28 +0000 (06:51 +0000)
commitb792627ce9b883ad06aa657413335e4030b31f5b
tree855d2ee4c615cec9172e4c01801a1545615e1a2b
parent3cfd351efcab53c9689ada27ccdc824a9fd58095
Fix compiler warning when using clang 3.6.0

Without the fix we get the following (with -Werror):

../lib/Target/X86/X86ISelLowering.cpp:14181:58: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
  SmallVector<std::array<int, 2>, 2> LaneSrcs(NumLanes, {-1, -1});
                                                         ^~~~~~
                                                         {     }
1 error generated.

llvm-svn: 352455
llvm/lib/Target/X86/X86ISelLowering.cpp