commit | d631cc45635a59c4169f30d19bd97d5f8b8480b6 | [log] [tgz] |
---|---|---|
author | Juergen Ributzka <juergen@apple.com> | Thu Apr 10 01:36:59 2014 +0000 |
committer | Juergen Ributzka <juergen@apple.com> | Thu Apr 10 01:36:59 2014 +0000 |
tree | 06507c1e697cbaa7d94bde503b41b47d2072621f | |
parent | 6a6b4d5dfab7ec2706dadf48a82b67c3a2079c3a [diff] |
[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