llvm-6502/lib/Target
Nate Begeman 4477590ef6 Codegen
bool %test(int %X) {
  %Y = seteq int %X, 13
  ret bool %Y
}

as

_test:
        addi r2, r3, -13
        cntlzw r2, r2
        srwi r3, r2, 5
        blr

rather than

_test:
        cmpwi cr7, r3, 13
        mfcr r2
        rlwinm r3, r2, 31, 31, 31
        blr

This has very little effect on most code, but speeds up analyzer 23% and
mason 11%


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25848 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-31 08:17:29 +00:00
..
Alpha Update alpha to reflect recent constantfp legalize changes. It's not clear 2006-01-29 06:25:22 +00:00
CBackend Make the C writer work with packed types. printContainedStructs is 2006-01-20 20:43:57 +00:00
IA64 Targets all now request ConstantFP to be legalized into TargetConstantFP. 2006-01-29 06:26:08 +00:00
PowerPC Codegen 2006-01-31 08:17:29 +00:00
Skeleton PHI and INLINEASM are now built-in instructions provided by Target.td 2006-01-27 01:46:15 +00:00
Sparc okay, one more 2006-01-31 07:45:45 +00:00
SparcV8 okay, one more 2006-01-31 07:45:45 +00:00
SparcV9 PHI and INLINEASM are now built-in instructions provided by Target.td 2006-01-27 01:46:15 +00:00
X86 Added custom lowering of fabs 2006-01-31 03:14:29 +00:00
Makefile DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
MRegisterInfo.cpp
SubtargetFeature.cpp Improve compatibility with VC2005, patch by Morten Ofstad! 2006-01-26 20:41:32 +00:00
Target.td Subtarget feature can now set any variable to any value 2006-01-27 08:09:42 +00:00
TargetData.cpp Implement a new InvalidateStructLayoutInfo method and add some comments 2006-01-14 00:07:34 +00:00
TargetFrameInfo.cpp
TargetInstrInfo.cpp
TargetMachine.cpp
TargetMachineRegistry.cpp
TargetSchedInfo.cpp
TargetSchedule.td Add a default NoItinerary class for targets to use. 2006-01-27 01:41:38 +00:00
TargetSelectionDAG.td Targets all now request ConstantFP to be legalized into TargetConstantFP. 2006-01-29 06:26:08 +00:00
TargetSubtarget.cpp