Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								f413419a72 
								
							 
						 
						
							
							
								
								Set implied features based upon the CPU's feature list.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37768 
							
						 
						
							2007-06-27 23:34:06 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								1cbdcac409 
								
							 
						 
						
							
							
								
								Remove a redundant newline in the asm output for ELF .rodata sections.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37756 
							
						 
						
							2007-06-27 15:09:47 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								335c65e9a4 
								
							 
						 
						
							
							
								
								Silence a warning.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37737 
							
						 
						
							2007-06-26 18:31:22 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								e8c1e428f2 
								
							 
						 
						
							
							
								
								Revert the earlier change that removed the M_REMATERIALIZABLE machine  
							
							 
							
							... 
							
							
							
							instruction flag, and use the flag along with a virtual member function
hook for targets to override if there are instructions that are only
trivially rematerializable with specific operands (i.e. constant pool
loads).
llvm-svn: 37728 
							
						 
						
							2007-06-26 00:48:07 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								a866514528 
								
							 
						 
						
							
							
								
								Generalize MVT::ValueType and associated functions to be able to represent  
							
							 
							
							... 
							
							
							
							extended vector types. Remove the special SDNode opcodes used for pre-legalize
vector operations, and the special MVT::Vector type used with them. Adjust
lowering and legalize to work with the normal SDNode kinds instead, and to
use the normal MVT functions to work with vector types instead of using the
two special operands that the pre-legalize nodes held.
This allows pre-legalize and post-legalize DAGs, and the code that operates
on them, to be more consistent. Pre-legalize vector operators can be handled
more consistently with scalar operators. And, -view-dag-combine1-dags and
-view-legalize-dags now look prettier for vector code.
llvm-svn: 37719 
							
						 
						
							2007-06-25 16:23:39 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								2e84e3f7b7 
								
							 
						 
						
							
							
								
								Make minor adjustments to whitespace and comments to reduce differences  
							
							 
							
							... 
							
							
							
							between SSE1 instructions and their respective SSE2 analogues.
llvm-svn: 37718 
							
						 
						
							2007-06-25 15:44:19 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								33209bd6b8 
								
							 
						 
						
							
							
								
								Fix loadv2i32 to be loadv4i32, though it isn't actually used anywhere yet.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37717 
							
						 
						
							2007-06-25 15:19:03 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								e33c4b739b 
								
							 
						 
						
							
							
								
								Say AT&T instead of Intel in the comments for AT&T support.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37716 
							
						 
						
							2007-06-25 15:11:25 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								0c550df9d2 
								
							 
						 
						
							
							
								
								Fix the build.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37705 
							
						 
						
							2007-06-22 16:59:54 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								309d3d51b3 
								
							 
						 
						
							
							
								
								Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from  
							
							 
							
							... 
							
							
							
							TargetLowering to SelectionDAG so that they have more convenient
access to the current DAG, in preparation for the ValueType routines
being changed from standalone functions to members of SelectionDAG for
the pre-legalize vector type changes.
llvm-svn: 37704 
							
						 
						
							2007-06-22 14:59:07 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								485531ea9b 
								
							 
						 
						
							
							
								
								Quote complex names for Darwin X86 and ARM.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37700 
							
						 
						
							2007-06-22 00:54:56 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								77d61e6f6d 
								
							 
						 
						
							
							
								
								Be more conservative of duplicating blocks.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37669 
							
						 
						
							2007-06-19 23:55:02 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								c3c949b473 
								
							 
						 
						
							
							
								
								Allow predicated immediate ARM to ARM calls.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37659 
							
						 
						
							2007-06-19 21:05:09 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								a7644dd9b9 
								
							 
						 
						
							
							
								
								Pass a SelectionDAG into SDNode::dump everywhere it's used, in prepration  
							
							 
							
							... 
							
							
							
							for needing the DAG node to print pre-legalize extended value types, and
to get better debug messages with target-specific nodes.
llvm-svn: 37656 
							
						 
						
							2007-06-19 14:13:56 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7936d91f70 
								
							 
						 
						
							
							
								
								describe an argument, hide it.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37650 
							
						 
						
							2007-06-19 05:46:06 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								9e82064924 
								
							 
						 
						
							
							
								
								Replace M_REMATERIALIZIBLE and the newly-added isOtherReMaterializableLoad  
							
							 
							
							... 
							
							
							
							with a general target hook to identify rematerializable instructions. Some
instructions are only rematerializable with specific operands, such as loads
from constant pools, while others are always rematerializable. This hook
allows both to be identified as being rematerializable with the same
mechanism.
llvm-svn: 37644 
							
						 
						
							2007-06-19 01:48:05 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								a7ca624028 
								
							 
						 
						
							
							
								
								Replace TargetInstrInfo::CanBeDuplicated() with a M_NOT_DUPLICABLE bit.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37643 
							
						 
						
							2007-06-19 01:26:51 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								944200be45 
								
							 
						 
						
							
							
								
								If a function is vararg, never pass inreg arguments in registers.  Thanks to  
							
							 
							
							... 
							
							
							
							Anton for half of this patch.
llvm-svn: 37641 
							
						 
						
							2007-06-19 00:13:10 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								cea02ffd05 
								
							 
						 
						
							
							
								
								Look for VECTOR_SHUFFLE that's identity operation on either LHS or RHS. This can happen before DAGCombiner catches it.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37636 
							
						 
						
							2007-06-19 00:02:56 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								c98815ba32 
								
							 
						 
						
							
							
								
								Define the pushq instruction for x86-64.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37625 
							
						 
						
							2007-06-18 14:12:56 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								094a4e813a 
								
							 
						 
						
							
							
								
								Revert patch. It regresses:  
							
							 
							
							... 
							
							
							
							define double @test2(i64 %A) {
   %B = bitcast i64 %A to double
   ret double %B
}
$ llvm-as < t.ll | llc -march=x86-64
before:
         .align  4
         .globl  _test2
_test2:
         movd %rdi, %xmm0
         ret
after:
_test2:
         subq $8, %rsp
         movq %rdi, (%rsp)
         movsd (%rsp), %xmm0
         addq $8, %rsp
         ret
llvm-svn: 37617 
							
						 
						
							2007-06-16 23:57:15 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								cd9673e565 
								
							 
						 
						
							
							
								
								Fix a failure to bit_convert from integer GPR to MMX register.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37611 
							
						 
						
							2007-06-16 06:17:31 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								36b1f5476e 
								
							 
						 
						
							
							
								
								Instructions with unique labels or embedded jumptables cannot be duplicated during ifcvt.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37606 
							
						 
						
							2007-06-15 21:15:00 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								5c4413120f 
								
							 
						 
						
							
							
								
								Rename MVT::getVectorBaseType to MVT::getVectorElementType.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37579 
							
						 
						
							2007-06-14 22:58:02 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								616627b002 
								
							 
						 
						
							
							
								
								Do not treat FP_REG_KILL as terminator in branch analysis (X86).  
							
							 
							
							... 
							
							
							
							llvm-svn: 37578 
							
						 
						
							2007-06-14 22:03:45 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								4a4a8eb00e 
								
							 
						 
						
							
							
								
								Add a target hook to allow loads from constant pools to be rematerialized, and an  
							
							 
							
							... 
							
							
							
							implementation for x86.
llvm-svn: 37576 
							
						 
						
							2007-06-14 20:50:44 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								3a8e2a8b2f 
								
							 
						 
						
							
							
								
								Eliminate some redundant newlines in asm output.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37574 
							
						 
						
							2007-06-14 15:00:27 +00:00  
						
					 
				
					
						
							
							
								 
								Christopher Lamb
							
						 
						
							 
							
							
							
							
								
							
							
								f274efef9f 
								
							 
						 
						
							
							
								
								Add support to tablegen for specifying subregister classes on a per register class basis.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37572 
							
						 
						
							2007-06-13 22:20:15 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								c68554683d 
								
							 
						 
						
							
							
								
								Handle blocks with 2 unconditional branches in AnalyzeBranch.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37571 
							
						 
						
							2007-06-13 17:59:52 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								75372ad603 
								
							 
						 
						
							
							
								
								fix x86-64 mmx calling convention for real, which passes in integer gprs.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37534 
							
						 
						
							2007-06-09 05:08:10 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a4a49e37ab 
								
							 
						 
						
							
							
								
								fix mmx handling bug  
							
							 
							
							... 
							
							
							
							llvm-svn: 37533 
							
						 
						
							2007-06-09 05:01:50 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								5514bbef46 
								
							 
						 
						
							
							
								
								Add a utility routine to check for unpredicated terminator instruction.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37528 
							
						 
						
							2007-06-08 21:59:56 +00:00  
						
					 
				
					
						
							
							
								 
								Lauro Ramos Venancio
							
						 
						
							 
							
							
							
							
								
							
							
								c7ebbaa10e 
								
							 
						 
						
							
							
								
								Define AsmTransCBE for ARM.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37527 
							
						 
						
							2007-06-08 21:06:23 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								6740da9407 
								
							 
						 
						
							
							
								
								Fix ARM condition code subsumission check.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37517 
							
						 
						
							2007-06-08 09:14:47 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								f62a5afb98 
								
							 
						 
						
							
							
								
								tBcc is not a barrier.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37516 
							
						 
						
							2007-06-08 09:13:23 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								842be09d86 
								
							 
						 
						
							
							
								
								Stupid cut-n-paste bug caused me soooo much grief. Why wasn't there a compilation warning? I blame it on the FE folks.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37484 
							
						 
						
							2007-06-07 01:37:54 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								e8c3cbf971 
								
							 
						 
						
							
							
								
								Mark these instructions clobbersPred. They modify the condition code register.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37468 
							
						 
						
							2007-06-06 10:17:05 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								d04409154f 
								
							 
						 
						
							
							
								
								Added clobbersPred.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37466 
							
						 
						
							2007-06-06 10:15:28 +00:00  
						
					 
				
					
						
							
							
								 
								Bruno Cardoso Lopes
							
						 
						
							 
							
							
							
							
								
							
							
								35e43c49b0 
								
							 
						 
						
							
							
								
								Initial Mips support, here we go! =)  
							
							 
							
							... 
							
							
							
							- Modifications from the last patch included
  (issues pointed by Evan Cheng are now fixed).
- Added more MipsI instructions.
- Added more patterns to match branch instructions.
llvm-svn: 37461 
							
						 
						
							2007-06-06 07:42:06 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								5c48958a61 
								
							 
						 
						
							
							
								
								Print predicate of the second instruction of the two-piece constant MI.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37437 
							
						 
						
							2007-06-05 18:55:18 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								252695f0f6 
								
							 
						 
						
							
							
								
								PIC label asm printing cosmetic changes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37434 
							
						 
						
							2007-06-05 07:36:38 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								59ca6a846f 
								
							 
						 
						
							
							
								
								Misuse of hasExternalLinkage(), should be checking isDeclaration().  
							
							 
							
							... 
							
							
							
							llvm-svn: 37419 
							
						 
						
							2007-06-04 18:54:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								446548d2a3 
								
							 
						 
						
							
							
								
								update this entry, now that Anton implemented shift/and lowering for  
							
							 
							
							... 
							
							
							
							switches.  There is one really easy isel thing here with tst we are not
getting.
llvm-svn: 37400 
							
						 
						
							2007-06-02 18:45:14 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								9aa5fc8577 
								
							 
						 
						
							
							
								
								Opcode modifier s comes after condition code. e.g. addlts, not addslt.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37388 
							
						 
						
							2007-06-01 20:51:29 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								256144de4a 
								
							 
						 
						
							
							
								
								Set ARM ifcvt duplication limit to 3 for now.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37385 
							
						 
						
							2007-06-01 08:28:59 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								a2ab4e5feb 
								
							 
						 
						
							
							
								
								Make jumptable non-predicable for now.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37381 
							
						 
						
							2007-06-01 00:56:15 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3e3ff30aa2 
								
							 
						 
						
							
							
								
								Fix the asmprinter so that a globalvalue can specify an explicit alignment  
							
							 
							
							... 
							
							
							
							smaller than the preferred alignment, but so that the target can actually
specify a minimum alignment if needed.  This fixes some objc protocol
failures Devang tracked down.
llvm-svn: 37373 
							
						 
						
							2007-05-31 18:57:45 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								19eeee41ca 
								
							 
						 
						
							
							
								
								For VFP2 fldm, fstm instructions, the condition code is printed after the address mode and size specifier. e.g. fstmiaseq, not fstmeqias.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37351 
							
						 
						
							2007-05-29 23:34:19 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								a6e9a4ce07 
								
							 
						 
						
							
							
								
								For ldrb, strh, etc., the condition code is before the width specifier. e.g. streqh, not strheq.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37349 
							
						 
						
							2007-05-29 23:32:06 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								2d91a4fd6a 
								
							 
						 
						
							
							
								
								Add missing const qualifiers.  
							
							 
							
							... 
							
							
							
							llvm-svn: 37342 
							
						 
						
							2007-05-29 18:42:18 +00:00