llvm-6502/test/CodeGen/SPARC
Jakob Stoklund Olesen 5b8e04cd71 Always let value types influence register classes.
When creating a virtual register for a def, the value type should be
used to pick the register class. If we only use the register class
constraint on the instruction, we might pick a too large register class.

Some registers can store values of different sizes. For example, the x86
xmm registers can hold f32, f64, and 128-bit vectors. The three
different value sizes are represented by register classes with identical
register sets: FR32, FR64, and VR128. These register classes have
different spill slot sizes, so it is important to use the right one.

The register class constraint on an instruction doesn't necessarily care
about the size of the value its defining. The value type determines
that.

This fixes a problem where InstrEmitter was picking 32-bit register
classes for 64-bit values on SPARC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199187 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-14 06:18:38 +00:00
..
64abi.ll The SPARCv9 ABI returns a float in %f0. 2014-01-12 04:13:17 +00:00
64bit.ll [Sparc] Emit retl/ret instead of jmp instruction. It improves the readability of the assembly generated. 2014-01-10 02:55:27 +00:00
64cond.ll The SPARCv9 ABI returns a float in %f0. 2014-01-12 04:13:17 +00:00
64spill.ll [SparcV9] Use separate instruction patterns for 64 bit arithmetic instructions instead of reusing 32 bit instruction patterns. 2013-12-29 07:15:09 +00:00
2006-01-22-BitConvertLegalize.ll
2007-05-09-JumpTables.ll
2007-07-05-LiveIntervalAssert.ll
2008-10-10-InlineAsmMemoryOperand.ll
2008-10-10-InlineAsmRegOperand.ll
2009-08-28-PIC.ll
2009-08-28-WeakLinkage.ll
2011-01-11-Call.ll [Sparc] Emit retl/ret instead of jmp instruction. It improves the readability of the assembly generated. 2014-01-10 02:55:27 +00:00
2011-01-11-CC.ll [Sparc] Do not emit nop after fcmp* instruction with V9. 2013-10-06 07:06:44 +00:00
2011-01-11-FrameAddr.ll [Sparc] Emit retl/ret instead of jmp instruction. It improves the readability of the assembly generated. 2014-01-10 02:55:27 +00:00
2011-01-19-DelaySlot.ll [Sparc] Bundle instruction with delay slow and its filler. Now, we can use -verify-machineinstrs with SPARC backend. 2014-01-11 19:38:03 +00:00
2011-01-21-ByValArgs.ll Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
2011-01-22-SRet.ll Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. 2013-07-18 22:47:09 +00:00
2011-12-03-TailDuplication.ll
2012-05-01-LowerArguments.ll
2013-05-17-CallFrame.ll [SPARCV9]: Adjust the resultant pointer of DYNAMIC_STACKALLOC with the stack BIAS on sparcV9. 2013-12-09 05:13:25 +00:00
atomics.ll [Sparc] Handle atomic loads/stores in sparc backend. 2014-01-01 22:11:54 +00:00
basictest.ll Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change and all updated tests passed locally. 2013-07-14 06:24:09 +00:00
blockaddr.ll Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change and all updated tests passed locally. 2013-07-14 06:24:09 +00:00
constpool.ll The SPARCv9 ABI returns a float in %f0. 2014-01-12 04:13:17 +00:00
ctpop.ll [Sparc] Add missing processor types: v7 and niagara 2014-01-11 23:56:13 +00:00
DbgValueOtherTargets.test Remove unnecessary leading comment characters in lit-only file 2013-03-18 22:08:16 +00:00
exception.ll [Sparc] Lower and MachineInstr to MC and print assembly using MCInstPrinter. 2013-12-26 01:49:59 +00:00
float.ll [SparcV9] Handle i64 <-> float conversions in sparcv9 mode. 2013-11-03 12:28:40 +00:00
fp128.ll [Sparc] Emit retl/ret instead of jmp instruction. It improves the readability of the assembly generated. 2014-01-10 02:55:27 +00:00
globals.ll [Sparc] Emit retl/ret instead of jmp instruction. It improves the readability of the assembly generated. 2014-01-10 02:55:27 +00:00
leafproc.ll [Sparc] Emit retl/ret instead of jmp instruction. It improves the readability of the assembly generated. 2014-01-10 02:55:27 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
missinglabel.ll Handle bundled terminators in isBlockOnlyReachableByFallthrough. 2014-01-12 19:24:08 +00:00
mult-alt-generic-sparc.ll
private.ll
rem.ll [Sparc] Emit retl/ret instead of jmp instruction. It improves the readability of the assembly generated. 2014-01-10 02:55:27 +00:00
setjmp.ll TBAA: update tbaa format from scalar format to struct-path aware format. 2013-09-30 18:17:55 +00:00
spillsize.ll Always let value types influence register classes. 2014-01-14 06:18:38 +00:00
tls.ll [Sparc] Add support for TLS in sparc. 2013-09-22 06:48:52 +00:00
varargs.ll Sparc: Mark functions calling llvm.vastart and llvm.returnaddress intrinsics as non-leaf functions. 2013-06-01 20:42:48 +00:00