llvm-6502/test/CodeGen
Evan Cheng aaf414c92c Favors generating "not" over "xor -1". For example.
unsigned test(unsigned a) {
  return ~a;
}
llvm used to generate:
movl    $4294967295, %eax
xorl    4(%esp), %eax

Now it generates:
movl      4(%esp), %eax
notl      %eax

It's 3 bytes shorter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62661 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-21 02:09:05 +00:00
..
Alpha
ARM
CBackend
CellSPU
CPP
Generic Don't bother running the assembler, we don't know that it will be configured 2009-01-20 21:41:53 +00:00
IA64
Mips
PowerPC Fix PPC ISD::Declare isel and eliminate the need for PPCTargetLowering::LowerGlobalAddress to check if isVerifiedDebugInfoDesc() is true. Given the recent changes, it would falsely return true for a lot of GlobalAddressSDNode's. 2009-01-16 22:57:32 +00:00
SPARC
X86 Favors generating "not" over "xor -1". For example. 2009-01-21 02:09:05 +00:00
XCore