| 
							
							
								 Evan Cheng | 3a41ddb1b9 | Watch out for duplicated PHI instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90816 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-07 23:11:03 +00:00 |  | 
			
				
					| 
							
							
								 Evan Cheng | 75eb535843 | Pre-regalloc tale duplication. Work in progress. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90759 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-07 10:15:19 +00:00 |  | 
			
				
					| 
							
							
								 Evan Cheng | 7e572eb37f | If BB is empty, insert PHI before end() instead of front(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90744 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-07 03:07:01 +00:00 |  | 
			
				
					| 
							
							
								 Evan Cheng | 9d0f8bba17 | Don't try to be cute with undef optimization here. Let ProcessImplicitDefs handle it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90566 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-04 09:23:37 +00:00 |  | 
			
				
					| 
							
							
								 Evan Cheng | 2e65c29ac6 | - If the reaching definition is an undef and the use is a PHI, add the implicit_def to the end of the source block. - When reaching value is replaced with another, update the cache as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90501 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-04 00:09:05 +00:00 |  | 
			
				
					| 
							
							
								 Evan Cheng | 01306cad01 | Handle undef values properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90489 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-03 21:51:55 +00:00 |  | 
			
				
					| 
							
							
								 Evan Cheng | 229694f0ee | Fill out codegen SSA updater. It's not yet tested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90395 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-03 02:31:43 +00:00 |  | 
			
				
					| 
							
							
								 Evan Cheng | 651ea5376c | Skeleton for MachineInstr level SSA updater. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90353 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-12-02 22:02:52 +00:00 |  |