OSDN Git Service

MCInstrDesc: Flags (uint64_t) was checked using (1 << MCID::XYZ), but this
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Sat, 10 Sep 2016 20:54:19 +0000 (20:54 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Sat, 10 Sep 2016 20:54:19 +0000 (20:54 +0000)
commitd9a1d02b59898ce53be73677c73b197be9edd44c
tree2675f7763a1e0201004a82cb9c5ae61ead4def0d
parent10c97f029a953c4426abd9198f493e30a11f3a8c
MCInstrDesc: Flags (uint64_t) was checked using (1 << MCID::XYZ), but this
should have been (1ULL << MCID::XYZ). Currently this works because enum Flag
has 31 values, but extending it will result in a compile warnings/errors.
This was part of the accepted patch in https://reviews.llvm.org/D23601, but
it was suggested to apply this first as a separate patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281149 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCInstrDesc.h