Change weight array into a vector and make it as big as the number of
registers (not as the max number of registers). Change toSpill from a std::set into a std::vector<bool>. Use the reverse iterator adapter to do a reverse scan of allocatable registers. llvm-svn: 11061
Loading
Please register or sign in to comment