aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.katkov@azul.com>2017-08-17 05:48:30 +0000
committerSerguei Katkov <serguei.katkov@azul.com>2017-08-17 05:48:30 +0000
commit9e5604dbe1a43dbf3e19816acf51e6e87a15e019 (patch)
tree4ad4a0ff3c3170ea2ac137da362ddfa7a85d5e8f /llvm/lib/CodeGen/MachineScheduler.cpp
parented6a4acc7f590ee5cc144644106217a0c62225a6 (diff)
downloadllvm-9e5604dbe1a43dbf3e19816acf51e6e87a15e019.zip
llvm-9e5604dbe1a43dbf3e19816acf51e6e87a15e019.tar.gz
llvm-9e5604dbe1a43dbf3e19816acf51e6e87a15e019.tar.bz2
[CGP] Fix the rematerialization of gc.relocates
If we want to substitute the relocation of derived pointer with gep of base then we must ensure that relocation of base dominates the relocation of derived pointer. Currently only check for basic block is present. However it is possible that both relocation are in the same basic block but relocation of derived pointer is defined earlier. The patch moves the relocation of base pointer right before relocation of derived pointer in this case. Reviewers: sanjoy,artagnon,igor-laevsky,reames Reviewed By: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36462 llvm-svn: 311067
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions