aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamReader.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2020-09-22 12:11:29 +0200
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2020-09-23 15:36:32 +0200
commit370a8c802558ed7aedbcc09c1bdf4c2d3f4c28c0 (patch)
treed1b9ef1620467338c49d55dc35798beea88278ff /llvm/lib/Support/BinaryStreamReader.cpp
parent00c34f72fba4b6b8a446d57e2257c27eedad1a1d (diff)
downloadllvm-370a8c802558ed7aedbcc09c1bdf4c2d3f4c28c0.zip
llvm-370a8c802558ed7aedbcc09c1bdf4c2d3f4c28c0.tar.gz
llvm-370a8c802558ed7aedbcc09c1bdf4c2d3f4c28c0.tar.bz2
[SystemZ] Make sure not to call getZExtValue on a >64 bit constant.
Better use isZero() and isIntN() in SystemZTargetTransformInfo rather than calling getZExtValue() since the immediate operand may be wider than 64 bits, which is not allowed with getZExtValue(). Fixes https://bugs.llvm.org/show_bug.cgi?id=47600 Review: Simon Pilgrim
Diffstat (limited to 'llvm/lib/Support/BinaryStreamReader.cpp')
0 files changed, 0 insertions, 0 deletions