[Constant Hoisting][ARM64] Enable constant hoisting for ARM64.
authorJuergen Ributzka <juergen@apple.com>
Tue, 8 Apr 2014 20:39:59 +0000 (20:39 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 8 Apr 2014 20:39:59 +0000 (20:39 +0000)
commitc6a7502a803ceca5d18801a7598d303f7f5bfa0f
tree255a17bfcc26d3b8383de337cd66db03d91410f7
parent861e4db90533e6ba7de77c33d7a06857433616ff
[Constant Hoisting][ARM64] Enable constant hoisting for ARM64.

This implements the target-hooks for ARM64 to enable constant hoisting.

This fixes <rdar://problem/14774662> and <rdar://problem/16381500>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205791 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64TargetTransformInfo.cpp
test/CodeGen/ARM64/const-addr.ll [new file with mode: 0644]
test/Transforms/ConstantHoisting/ARM64/const-addr.ll [new file with mode: 0644]
test/Transforms/ConstantHoisting/ARM64/lit.local.cfg [new file with mode: 0644]