Update inaccurate comment about inalloca

I meant to say it was like indirect+byval and not direct. It is not at
all like direct.

llvm-svn: 228191
This commit is contained in:
Reid Kleckner 2015-02-04 20:50:29 +00:00
parent 33e64c66ac
commit 2689cecd67
1 changed files with 4 additions and 4 deletions

View File

@ -63,10 +63,10 @@ public:
Expand,
/// InAlloca - Pass the argument directly using the LLVM inalloca attribute.
/// This is similar to 'direct', except it only applies to arguments stored
/// in memory and forbids any implicit copies. When applied to a return
/// type, it means the value is returned indirectly via an implicit sret
/// parameter stored in the argument struct.
/// This is similar to indirect with byval, except it only applies to
/// arguments stored in memory and forbids any implicit copies. When
/// applied to a return type, it means the value is returned indirectly via
/// an implicit sret parameter stored in the argument struct.
InAlloca,
KindFirst = Direct,
KindLast = InAlloca