Fix handling of aliases to functions.
authorRichard Osborne <richard@xmos.com>
Fri, 16 Nov 2012 21:12:38 +0000 (21:12 +0000)
committerRichard Osborne <richard@xmos.com>
Fri, 16 Nov 2012 21:12:38 +0000 (21:12 +0000)
commitccc015d4314e966253668deec2b18a0d3e0cf4c0
treeecbfb0490b187f55e813eb26882bc17a689c0cf3
parent2085d00d09f4f3678a6c67da46df3a04e31b499c
Fix handling of aliases to functions.

An alias to a function should use pc relative addressing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168199 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreISelLowering.cpp
test/CodeGen/XCore/aliases.ll [new file with mode: 0644]