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)
commit9a43772783776a0ddbf8d58ba69f9922e324410d
treed483776e12ec4e21ae2673f305aacff5761f6a4f
parent2c5ac70dd9ed46b54c3a513e971808686d43b04b
Fix handling of aliases to functions.

An alias to a function should use pc relative addressing.

llvm-svn: 168199
llvm/lib/Target/XCore/XCoreISelLowering.cpp
llvm/test/CodeGen/XCore/aliases.ll [new file with mode: 0644]