1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/include/llvm/Target
Chris Lattner 41717f6989 This commit changes:
1. Legalize now always promotes truncstore of i1 to i8. 
2. Remove patterns and gunk related to truncstore i1 from targets.
3. Rename the StoreXAction stuff to TruncStoreAction in TLI.
4. Make the TLI TruncStoreAction table a 2d table to handle from/to conversions.
5. Mark a wide variety of invalid truncstores as such in various targets, e.g.
   X86 currently doesn't support truncstore of any of its integer types.
6. Add legalize support for truncstores with invalid value input types.
7. Add a dag combine transform to turn store(truncate) into truncstore when
   safe.

The later allows us to compile CodeGen/X86/storetrunc-fp.ll to:

_foo:
	fldt	20(%esp)
	fldt	4(%esp)
	faddp	%st(1)
	movl	36(%esp), %eax
	fstps	(%eax)
	ret

instead of:

_foo:
	subl	$4, %esp
	fldt	24(%esp)
	fldt	8(%esp)
	faddp	%st(1)
	fstps	(%esp)
	movl	40(%esp), %eax
	movss	(%esp), %xmm0
	movss	%xmm0, (%eax)
	addl	$4, %esp
	ret

llvm-svn: 46140
2008-01-17 19:59:44 +00:00
..
MRegisterInfo.h Move even more functionality from MRegisterInfo into TargetInstrInfo. 2008-01-07 01:35:02 +00:00
SubtargetFeature.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetAsmInfo.h Fix and enable EH for x86-64 Darwin. Adds 2008-01-15 23:24:56 +00:00
TargetData.h Fix PR1845 and rdar://5676945. Generic vectors smaller 2008-01-10 00:30:57 +00:00
TargetELFWriterInfo.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetFrameInfo.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetInstrDesc.h Simplify the side effect stuff a bit more and make licm/sinking 2008-01-10 23:08:24 +00:00
TargetInstrInfo.h Simplify the side effect stuff a bit more and make licm/sinking 2008-01-10 23:08:24 +00:00
TargetInstrItineraries.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetJITInfo.h X86 JIT PIC jumptable support. 2008-01-05 02:26:58 +00:00
TargetLowering.h This commit changes: 2008-01-17 19:59:44 +00:00
TargetMachine.h rename TargetInstrDescriptor -> TargetInstrDesc. 2008-01-07 07:27:27 +00:00
TargetMachineRegistry.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetMachOWriterInfo.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetOptions.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
TargetSubtarget.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00