This is an archive of the discontinued LLVM Phabricator instance.

RegAllocGreedy-ForceGlobal should use number of Allocatable registers
AbandonedPublic

Authored by smohser on May 9 2018, 2:33 AM.

Details

Reviewers
atrick
Summary

RegAllocGreedy decides to allocate global and split ranges based on registers number in the register class, which includes preassigned registers and some cases unusable registers (if your register class includes registers for multiple cores), when it should only consider the allocatable registers only.

Diff Detail

Repository
rL LLVM

Event Timeline

smohser created this revision.May 9 2018, 2:33 AM
smohser updated this revision to Diff 145887.May 9 2018, 2:42 AM
smohser added a reviewer: atrick.

delete personal mail

i have no unit test, neither was one provided in the original commit

smohser rescinded a token.
smohser abandoned this revision.May 31 2018, 6:56 AM