llvm-6502/test
Jakob Stoklund Olesen 243296690e Use the right floating point load/store instructions in PPCInstrInfo::foldMemoryOperandImpl().
The PowerPC floating point registers can represent both f32 and f64 via the
two register classes F4RC and F8RC. F8RC is considered a subclass of F4RC to
allow cross-class coalescing. This coalescing only affects whether registers
are spilled as f32 or f64.

Spill slots must be accessed with load/store instructions corresponding to the
class of the spilled register. PPCInstrInfo::foldMemoryOperandImpl was looking
at the instruction opcode which is wrong.

X86 has similar floating point register classes, but doesn't try to fold
memory operands, so there is no problem there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97262 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-26 21:09:24 +00:00
..
Analysis
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Use the right floating point load/store instructions in PPCInstrInfo::foldMemoryOperandImpl(). 2010-02-26 21:09:24 +00:00
DebugInfo
ExecutionEngine
Feature
FrontendAda
FrontendC Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
FrontendC++
FrontendFortran
FrontendObjC new test case for r96974. 2010-02-23 19:37:40 +00:00
FrontendObjC++
Integer
lib Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
Linker
LLVMC Update the test suite. 2010-02-23 09:04:51 +00:00
MC This is a patch to the assembler frontend to detect when aligning a text 2010-02-25 18:46:04 +00:00
Other Teach the constant folder about union types. 2010-02-25 16:45:19 +00:00
Scripts
TableGen
Transforms fix PR6435 another bug from the MallocInst elimination work. 2010-02-26 18:23:13 +00:00
Unit Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Verifier
CMakeLists.txt
lit.cfg tests: Propogate the HOME environment variable through to tests. I'm ambivalent 2010-02-25 22:09:09 +00:00
lit.site.cfg.in
Makefile Try r96559 for the third time. This time the shared library is only built if 2010-02-25 06:34:33 +00:00
Makefile.tests Switch .bc/.ll Makefile rules to use LLVM{CC,CXX} instead of LLVMG{CC,XX} 2010-02-23 10:28:06 +00:00
site.exp.in Eliminate llvmgcc_version testing variable. 2010-02-23 07:56:28 +00:00
TestRunner.sh