diff options
| author | James Molloy <james.molloy@arm.com> | 2014-05-07 12:33:41 +0000 |
|---|---|---|
| committer | James Molloy <james.molloy@arm.com> | 2014-05-07 12:33:41 +0000 |
| commit | fca7f5c5856e112f12c63e9c9ebf0fae5aca525f (patch) | |
| tree | 67ddf7d23107fabd339b926f64defd5e4ccaca63 /lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 1caec99d5d3e68b0f11419d5552a00c5d6d569f5 (diff) | |
| download | llvm-fca7f5c5856e112f12c63e9c9ebf0fae5aca525f.tar.gz llvm-fca7f5c5856e112f12c63e9c9ebf0fae5aca525f.tar.bz2 llvm-fca7f5c5856e112f12c63e9c9ebf0fae5aca525f.tar.xz | |
[ARM64-BE] Implement the lane-twiddling logic at AAPCS boundaries for big endian.
The AAPCS states that values passed in registers must have a value as though
they had been loaded with "LDR". LDR is equivalent to "LD1.64 vX.1D" - that is,
loading scalars to vector registers and loading 1-element vectors is equivalent.
The logic implemented here is to ensure that at all call boundaries and during
formal argument lowering all vectors are treated as their bitwidth-based floating
point scalar counterpart, which is always one of f64 or f128 (v2i32 -> f64,
v4i32 -> f128 etc). A BITCAST is inserted so that the appropriate REV will be
generated during code generation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208198 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
