llvm-6502/test/CodeGen
Hal Finkel ca2dd36c39 Check multiple register classes for inline asm tied registers
A register can be associated with several distinct register classes.
For example, on PPC, the floating point registers are each associated with
both F4RC (which holds f32) and F8RC (which holds f64). As a result, this code
would fail when provided with a floating point register and an f64 operand
because it would happen to find the register in the F4RC class first and
return that. From the F4RC class, SDAG would extract f32 as the register
type and then assert because of the invalid implied conversion between
the f64 value and the f32 register.

Instead, search all register classes. If a register class containing the
the requested register has the requested type, then return that register
class. Otherwise, as before, return the first register class found that
contains the requested register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170436 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-18 17:50:58 +00:00
..
ARM Some enhancements for memcpy / memset inline expansion. 2012-12-10 23:21:26 +00:00
CPP
Generic move X86-specific test 2012-12-11 00:36:43 +00:00
Hexagon In hexagon convertToHardwareLoop, don't deref end() iterator 2012-12-07 21:03:15 +00:00
MBlaze
Mips This patch is needed to make c++ exceptions work for mips16. 2012-12-16 04:00:45 +00:00
MSP430 Add support for varargs functions for msp430. 2012-11-21 17:28:27 +00:00
NVPTX [NVPTX] Fix crash with unnamed struct arguments 2012-12-05 20:50:28 +00:00
PowerPC Check multiple register classes for inline asm tied registers 2012-12-18 17:50:58 +00:00
R600 Add R600 backend 2012-12-11 21:25:42 +00:00
SI Add R600 backend 2012-12-11 21:25:42 +00:00
SPARC Use TargetTransformInfo to control switch-to-lookup table transformation 2012-10-30 11:23:25 +00:00
Thumb Use the 'count' attribute to calculate the upper bound of an array. 2012-12-04 21:34:03 +00:00
Thumb2 Fix typos in CHECK lines. 2012-12-06 21:24:47 +00:00
X86 Add rest of BMI/BMI2 instructions to the folding tables as well as popcnt and lzcnt. 2012-12-17 05:02:29 +00:00
XCore Fix handling of aliases to functions. 2012-11-16 21:12:38 +00:00