summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-02-08 17:57:27 +0000
committerTim Northover <tnorthover@apple.com>2017-02-08 17:57:27 +0000
commite9600d861cf898b51c33218ea55a924292ba7955 (patch)
tree8ebd34a320d10d350ff8175abcf7d2b0e4edfd6f /llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
parentf19d467ff6c7c14af97b0bdc52f1980488fca0e3 (diff)
downloadbcm5719-llvm-e9600d861cf898b51c33218ea55a924292ba7955.tar.gz
bcm5719-llvm-e9600d861cf898b51c33218ea55a924292ba7955.zip
GlobalISel: select G_VASTART on iOS AArch64.
The AAPCS ABI is substantially more complicated so that's coming in a separate patch. For now we can generate correct code for iOS though. llvm-svn: 294493
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp b/llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
index 3a97406c0d8..ad0482ac7d5 100644
--- a/llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
@@ -225,5 +225,7 @@ AArch64LegalizerInfo::AArch64LegalizerInfo() {
setAction({G_BITCAST, 1, LLT::vector(32/EltSize, EltSize)}, Legal);
}
+ setAction({G_VASTART, p0}, Legal);
+
computeTables();
}
OpenPOWER on IntegriCloud