OSDN Git Service

GlobalISel (AArch64): fix ABI at border between GPRs and SP.
authorTim Northover <tnorthover@apple.com>
Thu, 17 Aug 2017 23:14:01 +0000 (23:14 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 17 Aug 2017 23:14:01 +0000 (23:14 +0000)
commite8fd20964798ca6d46d2729dd3a789707a6416da
tree593a5bed187c375c2c270ba54374fb25885ec8ee
parentd93db263e5fb02b83f18715db3be7d4540ff194f
GlobalISel (AArch64): fix ABI at border between GPRs and SP.

If a struct would end up half in GPRs and half on SP the ABI says it should
actually go entirely on the stack. We were getting this wrong in GlobalISel
before, causing compatibility issues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311137 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64CallLowering.cpp
test/CodeGen/AArch64/GlobalISel/call-translator.ll