mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
ARM-BE: test files for vector argument passing
Reviewed at http://reviews.llvm.org/D3766 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208793 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62d6aa0252
commit
8101512a2d
@ -3965,7 +3965,8 @@ static SDValue ExpandBITCAST(SDNode *N, SelectionDAG &DAG) {
|
||||
// Turn f64->i64 into VMOVRRD.
|
||||
if (DstVT == MVT::i64 && TLI.isTypeLegal(SrcVT)) {
|
||||
SDValue Cvt;
|
||||
if (TLI.isBigEndian() && SrcVT.isVector())
|
||||
if (TLI.isBigEndian() && SrcVT.isVector() &&
|
||||
SrcVT.getVectorNumElements() > 1)
|
||||
Cvt = DAG.getNode(ARMISD::VMOVRRD, dl,
|
||||
DAG.getVTList(MVT::i32, MVT::i32),
|
||||
DAG.getNode(ARMISD::VREV64, dl, SrcVT, Op));
|
||||
|
1172
test/CodeGen/ARM/big-endian-vector-callee.ll
Normal file
1172
test/CodeGen/ARM/big-endian-vector-callee.ll
Normal file
File diff suppressed because it is too large
Load Diff
1369
test/CodeGen/ARM/big-endian-vector-caller.ll
Normal file
1369
test/CodeGen/ARM/big-endian-vector-caller.ll
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user