llvm-6502/test/CodeGen
Hal Finkel 860c08cad5 Implement optimizeCompareInstr for PPC
Many PPC instructions have a so-called 'record form' which stores to a specific
condition register the result of comparing the result of the instruction with
zero (always as a signed comparison). For integer operations on PPC64, this is
always a 64-bit comparison.

This implementation is derived from the implementation in the ARM backend;
there are some differences because PPC condition registers are allocatable
virtual registers (although the record forms always use a specific one), and we
look for a matching subtraction instruction after the compare (but before the
first use) in addition to before it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179802 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-18 22:15:08 +00:00
..
AArch64 Replace coff-/elf-dump with llvm-readobj 2013-04-12 04:06:46 +00:00
ARM Fix for PR14824, An ARM Load/Store Optimization bug 2013-04-18 09:11:08 +00:00
CPP test commit: remove blank line. 2013-03-14 05:43:59 +00:00
Generic XFAIL some of the generic CodeGen tests for Hexagon. 2013-03-25 21:04:16 +00:00
Hexagon Hexagon: Enable SupportDebugInfomation and DwarfInSection flags. 2013-03-28 19:34:49 +00:00
Inputs Revert "Adding DIImportedModules to DIScopes." 2013-03-28 02:44:59 +00:00
MBlaze Remove unnecessary leading comment characters in lit-only file 2013-03-18 22:08:16 +00:00
Mips [mips] Reapply r179420 and r179421. 2013-04-13 00:55:41 +00:00
MSP430 Remove unnecessary leading comment characters in lit-only file 2013-03-18 22:08:16 +00:00
NVPTX [NVPTX] Remove support for SM < 2.0. This was never fully supported anyway. 2013-03-30 14:29:30 +00:00
PowerPC Implement optimizeCompareInstr for PPC 2013-04-18 22:15:08 +00:00
R600 R600: Make Export Instruction not duplicable 2013-04-17 15:17:39 +00:00
SI Add R600 backend 2012-12-11 21:25:42 +00:00
SPARC Add 64-bit multiply and divide instructions for SPARC v9. 2013-04-16 02:57:02 +00:00
Thumb Revert "Adding DIImportedModules to DIScopes." 2013-03-28 02:44:59 +00:00
Thumb2 SDAG: Handle scalarizing an extend of a <1 x iN> vector. 2013-03-07 05:47:54 +00:00
X86 X86: Add an SSE2 lowering for 64 bit compares when pcmpgtq (SSE4.2) isn't available. 2013-04-18 21:37:45 +00:00
XCore [XCore] Extend test to check positve offsets are folded into addresses. 2013-04-16 20:05:52 +00:00