]> granicus.if.org Git - llvm/commit
[ARM] GlobalISel: Lower pointer args and returns
authorDiana Picus <diana.picus@linaro.org>
Thu, 2 Feb 2017 14:01:00 +0000 (14:01 +0000)
committerDiana Picus <diana.picus@linaro.org>
Thu, 2 Feb 2017 14:01:00 +0000 (14:01 +0000)
commitc53d2b802ea4bcfe513b54fa06907183b1470eee
tree4952f6c8241af31346d8cd63c202f82214163f6c
parenta2eb1ad2cd2467f4c754c6ca3369eeadfb92eebd
[ARM] GlobalISel: Lower pointer args and returns

It is important to change the ArgInfo's type from pointer to integer, otherwise
the CC assign function won't know what to do. Instead of hacking it up, we use
ComputeValueVTs and introduce some of the helpers that we will need later on for
lowering more complex types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293889 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCallLowering.cpp
lib/Target/ARM/ARMCallLowering.h
test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
test/CodeGen/ARM/GlobalISel/arm-isel.ll