Fix a bug where we were counting the alias sets as completely used
authorEric Christopher <echristo@apple.com>
Mon, 18 Apr 2011 19:26:25 +0000 (19:26 +0000)
committerEric Christopher <echristo@apple.com>
Mon, 18 Apr 2011 19:26:25 +0000 (19:26 +0000)
commitd574bb5a6ee6cbe4d2387e4fa7f7f5ab099ea05f
treeed12398b9e95fd41961d5bb689e409b398ff7603
parent3b55a372d4c457d65dadd9a04c2b2d310f1bab83
Fix a bug where we were counting the alias sets as completely used
registers for fast allocation a different way. This has us updating
used registers only when we're using that exact register.

Fixes rdar://9207598

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129711 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocFast.cpp
test/CodeGen/ARM/2011-04-12-FastRegAlloc.ll [new file with mode: 0644]