Refine r141689 with a tri-state variable.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 11 Oct 2011 23:48:44 +0000 (23:48 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 11 Oct 2011 23:48:44 +0000 (23:48 +0000)
commitfad62874883ab78af47b4eeba042775a67ea7515
tree460d0e42dcb44524f2d2932b29dd64740ef67a5c
parent80eb99492902884651ccc064188074af250ec433
Refine r141689 with a tri-state variable.
Also teach MachineLICM to avoid "speculation" when register pressure is high.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141744 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineLICM.cpp