[PATCH] Reverse order in which base and derived pointers are lowered in the statepoint StackMap section
Igor Laevsky
igor at azulsystems.com
Wed May 6 06:21:51 PDT 2015
Hi reames, AndyAyers, swaroop.sridhar, pgavlin, sanjoy,
According to the documentation in StackMap section for the statepoint we should have:
```
The first Location in each pair describes the base pointer for the object. The second is the derived pointer actually being relocated.
```
But actually in the code we emit them in reverse order - derived pointer first, base pointer second.
This change fixes this problem and updates test cases to check ordering.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9527
Files:
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
test/CodeGen/X86/statepoint-stack-usage.ll
test/CodeGen/X86/statepoint-stackmap-format.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9527.25042.patch
Type: text/x-patch
Size: 6593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150506/f80e09b2/attachment.bin>
More information about the llvm-commits
mailing list