diff options
author | Matthias Braun <matze@braunis.de> | 2017-06-08 21:30:54 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-06-08 21:30:54 +0000 |
commit | 1ee25e0c3fd0ab1203c24d893d2ae55516492172 (patch) | |
tree | 95d2f7915e73bd9a5be35b92a5599ff1ec7054be /llvm/lib/Object/IRObjectFile.cpp | |
parent | b1ada4e74292f1d0f1b2682d454f8ab57c536b22 (diff) | |
download | llvm-1ee25e0c3fd0ab1203c24d893d2ae55516492172.zip llvm-1ee25e0c3fd0ab1203c24d893d2ae55516492172.tar.gz llvm-1ee25e0c3fd0ab1203c24d893d2ae55516492172.tar.bz2 |
RegAllocPBQP: Do not assign reserved physical register
(0) RegAllocPBQP: Since getRawAllocationOrder() may return a collection that includes reserved physical registers, iterate to find an un-reserved physical register.
(1) VirtRegMap: Enforce the invariant: "no reserved physical registers" in assignVirt2Phys(). Previously, this was checked only after the fact in VirtRegRewriter::rewrite.
(2) MachineVerifier: updated the test per MatzeB's review.
(3) +testcase
Patch by Nick Johnson<Nicholas.Paul.Johnson@deshawresearch.com>!
Differential Revision: https://reviews.llvm.org/D33947
llvm-svn: 305016
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions