summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64CallLowering.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-08-18 09:31:21 +0000
committerDiana Picus <diana.picus@linaro.org>2017-08-18 09:31:21 +0000
commit42ea77d5c232efa2949aa471c1a33c2f5a5e29e2 (patch)
tree7877b128cfe7bde7eb1b9b16104aad717fbe9963 /llvm/lib/Target/AArch64/AArch64CallLowering.cpp
parent25efe769c06120e01f7b6e32f77e0ba964f9d42a (diff)
downloadbcm5719-llvm-42ea77d5c232efa2949aa471c1a33c2f5a5e29e2.tar.gz
bcm5719-llvm-42ea77d5c232efa2949aa471c1a33c2f5a5e29e2.zip
Revert "GlobalISel (AArch64): fix ABI at border between GPRs and SP."
This reverts commit e8fd20964798ca6d46d2729dd3a789707a6416da in an attempt to appease the GlobalISel buildbot, which fails in the test-suite with errors like fpcmp: files differ without tolerance allowance llvm-svn: 311151
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64CallLowering.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64CallLowering.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64CallLowering.cpp b/llvm/lib/Target/AArch64/AArch64CallLowering.cpp
index a0ef3262483..fc09763ed38 100644
--- a/llvm/lib/Target/AArch64/AArch64CallLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64CallLowering.cpp
@@ -188,16 +188,12 @@ void AArch64CallLowering::splitToValueTypes(
}
unsigned FirstRegIdx = SplitArgs.size();
- bool AlreadySplit = false;
for (auto SplitVT : SplitVTs) {
+ // FIXME: set split flags if they're actually used (e.g. i128 on AAPCS).
Type *SplitTy = SplitVT.getTypeForEVT(Ctx);
SplitArgs.push_back(
ArgInfo{MRI.createGenericVirtualRegister(getLLTForType(*SplitTy, DL)),
SplitTy, OrigArg.Flags, OrigArg.IsFixed});
- if (!AlreadySplit) {
- SplitArgs.back().Flags.setSplit();
- AlreadySplit = true;
- }
}
for (unsigned i = 0; i < Offsets.size(); ++i)
OpenPOWER on IntegriCloud