diff options
author | Tim Northover <tnorthover@apple.com> | 2019-04-15 12:03:54 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-04-15 12:03:54 +0000 |
commit | 9db00f7e5b346877039ff3a9a0f7770fdda2c3ee (patch) | |
tree | 3a3844a6e85397643baf8987041ca8b4918f2498 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | abcade08b5d485cd3a6b81cf8306bd7b62f6fa94 (diff) | |
download | llvm-9db00f7e5b346877039ff3a9a0f7770fdda2c3ee.zip llvm-9db00f7e5b346877039ff3a9a0f7770fdda2c3ee.tar.gz llvm-9db00f7e5b346877039ff3a9a0f7770fdda2c3ee.tar.bz2 |
DAG: propagate whether an arg is a pointer for CallingConv decisions.
The arm64_32 ABI specifies that pointers (despite being 32-bits) should be
zero-extended to 64-bits when passed in registers for efficiency reasons. This
means that the SelectionDAG needs to be able to tell the backend that an
argument was originally a pointer, which is implmented here.
Additionally, some memory intrinsics need to be declared as taking an i8*
instead of an iPTR.
There should be no CodeGen change yet, but it will be triggered when AArch64
backend support for ILP32 is added.
llvm-svn: 358398
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions