summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMCallLowering.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-01-25 08:47:40 +0000
committerDiana Picus <diana.picus@linaro.org>2017-01-25 08:47:40 +0000
commitd83df5d372d47a137c4ea237f097a7ce8cc906c1 (patch)
treecbd1406e9aed27a9182f1d1f0fb44a7e1fbb6126 /llvm/lib/Target/ARM/ARMCallLowering.cpp
parent8b6c6bedcbad953260157903e03210249e5f4b90 (diff)
downloadbcm5719-llvm-d83df5d372d47a137c4ea237f097a7ce8cc906c1.tar.gz
bcm5719-llvm-d83df5d372d47a137c4ea237f097a7ce8cc906c1.zip
[ARM] GlobalISel: Support i1 add and ABI extensions
Add support for: * i1 add * i1 function arguments, if passed through registers * i1 returns, with ABI signext/zeroext Differential Revision: https://reviews.llvm.org/D27706 llvm-svn: 293035
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCallLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMCallLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMCallLowering.cpp b/llvm/lib/Target/ARM/ARMCallLowering.cpp
index 7c298cee3ed..dcd26341db0 100644
--- a/llvm/lib/Target/ARM/ARMCallLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMCallLowering.cpp
@@ -38,7 +38,7 @@ static bool isSupportedType(const DataLayout &DL, const ARMTargetLowering &TLI,
return false;
unsigned VTSize = VT.getSimpleVT().getSizeInBits();
- return VTSize == 8 || VTSize == 16 || VTSize == 32;
+ return VTSize == 1 || VTSize == 8 || VTSize == 16 || VTSize == 32;
}
namespace {
OpenPOWER on IntegriCloud