Pull the UsedInInstr.test() calls into calcSpillCost() and remember aliases.
This fixes the miscompilations of MultiSource/Applications/JM/l{en,de}cod.
Clang now successfully self hosts in a debug build with the fast register allocator.

llvm-svn: 103975
1 file changed
tree: 3bd03d5f05f21130fd0ffce5f57ef758cce85cfb
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. llvm/