Files
llvm-6502/test
Tom Stellard 6f6912321a Merging r229413:
------------------------------------------------------------------------
r229413 | atrick | 2015-02-16 13:10:47 -0500 (Mon, 16 Feb 2015) | 16 lines

AArch64: Safely handle the incoming sret call argument.

This adds a safe interface to the machine independent InputArg struct
for accessing the index of the original (IR-level) argument. When a
non-native return type is lowered, we generate the hidden
machine-level sret argument on-the-fly. Before this fix, we were
representing this argument as OrigArgIndex == 0, which is an outright
lie. In particular this crashed in the AArch64 backend where we
actually try to access the type of the original argument.

Now we use a sentinel value for machine arguments that have no
original argument index. AArch64, ARM, Mips, and PPC now check for this
case before accessing the original argument.

Fixes <rdar://19792160> Null pointer assertion in AArch64TargetLowering

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236856 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-08 14:13:47 +00:00
..
2015-03-16 21:15:49 +00:00
2015-01-15 04:04:08 +00:00
2015-01-15 04:04:08 +00:00
2015-01-15 04:04:08 +00:00
2015-05-08 14:13:47 +00:00
2015-02-12 23:46:59 +00:00
2015-04-29 00:41:57 +00:00
2015-01-15 04:04:08 +00:00
2015-02-06 22:06:43 +00:00
2015-01-15 04:04:08 +00:00
2015-04-27 14:50:09 +00:00
2015-01-28 17:24:04 +00:00
2015-05-01 02:43:16 +00:00
2015-05-05 14:43:00 +00:00
…