summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-04-10 01:36:59 +0000
committerJuergen Ributzka <juergen@apple.com>2014-04-10 01:36:59 +0000
commitd631cc45635a59c4169f30d19bd97d5f8b8480b6 (patch)
tree06507c1e697cbaa7d94bde503b41b47d2072621f /lib/Bitcode/Reader/BitcodeReader.cpp
parent6a6b4d5dfab7ec2706dadf48a82b67c3a2079c3a (diff)
downloadllvm-d631cc45635a59c4169f30d19bd97d5f8b8480b6.tar.gz
llvm-d631cc45635a59c4169f30d19bd97d5f8b8480b6.tar.bz2
llvm-d631cc45635a59c4169f30d19bd97d5f8b8480b6.tar.xz
[ARM64] Fix immediate cost calculation for types larger than i64.
The immediate cost calculation code was hitting an assertion in the included test case, because APInt was still internally 128-bits. Truncating it to 64-bits fixed the issue. Fixes <rdar://problem/16572521>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions