[PATCH] D37600: Preserve existing registers when adding pristines to LivePhysRegs
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 16:11:49 PDT 2017
kparzysz created this revision.
If a non-pristine, callee-saved register is already present in LivePhysRegs, calling addPristines would cause it to be removed. Make sure that the existing contents of LivePhysRegs are preserved.
Repository:
rL LLVM
https://reviews.llvm.org/D37600
Files:
include/llvm/CodeGen/LivePhysRegs.h
lib/CodeGen/LivePhysRegs.cpp
test/CodeGen/Hexagon/livephysregs-add-pristines.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37600.114276.patch
Type: text/x-patch
Size: 3852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170907/22675d1c/attachment.bin>
More information about the llvm-commits
mailing list