aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-09-04 09:46:14 +0000
committerTim Northover <tnorthover@apple.com>2014-09-04 09:46:14 +0000
commitbb72e6c804c9abd5dcd0b3777e2a494497ed05b7 (patch)
tree85c3dbf7979fb83c49e956cc1e3e65a4549fe8e6 /llvm/lib/Object/ObjectFile.cpp
parent9d24aa0fa8bdcfa1c6a061d97f7abcbeeb6b4177 (diff)
downloadllvm-bb72e6c804c9abd5dcd0b3777e2a494497ed05b7.zip
llvm-bb72e6c804c9abd5dcd0b3777e2a494497ed05b7.tar.gz
llvm-bb72e6c804c9abd5dcd0b3777e2a494497ed05b7.tar.bz2
AArch64: fix big-endian immediate materialisation
We were materialising big-endian constants using DAG nodes with types different from what was requested, followed by a bitcast. This is fine on little-endian machines where bitcasting is a nop, but we need a slightly different representation for big-endian. This adds a new set of NVCAST (natural-vector cast) operations which are always nops. Patch by Asiri Rathnayake. llvm-svn: 217138
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions