diff options
author | Than McIntosh <thanm@google.com> | 2018-03-01 13:31:57 +0000 |
---|---|---|
committer | Than McIntosh <thanm@google.com> | 2018-03-01 13:31:57 +0000 |
commit | b3d88a7466d1d702f2fb5250ab0b0bda2ea59892 (patch) | |
tree | 5bc54202827b1732a0281fa12eece0c2e5654bff /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | d49e75afbdad10e86ef5bfb6d53b86e2f7c63e50 (diff) | |
download | bcm5719-llvm-b3d88a7466d1d702f2fb5250ab0b0bda2ea59892.tar.gz bcm5719-llvm-b3d88a7466d1d702f2fb5250ab0b0bda2ea59892.zip |
[CodeGen] fix argument attribute in lowering statepoint/patchpoint
Summary:
Use the correct loop index varaible, ArgI, to retrieve attributes.
Reviewers: thanm, sanjoy, rnk
Reviewed By: rnk
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43832
llvm-svn: 326433
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index bc961386e6d..0a420ae0145 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -702,7 +702,7 @@ bool FastISel::lowerCallOperands(const CallInst *CI, unsigned ArgIdx, ArgListEntry Entry; Entry.Val = V; Entry.Ty = V->getType(); - Entry.setAttributes(&CS, ArgIdx); + Entry.setAttributes(&CS, ArgI); Args.push_back(Entry); } |