llvm-6502/lib
Michael Kuperstein 8ffbb68a86 [X86] When pattern-matching scalar FMA3 intrinsics, don't re-arrange the first and second operands.
The semantics of the scalar FMA intrinsics are that the high vector elements are copied from the first source.
The existing pattern switches src1 and src2 around, to match the "213" order, which ends up tying the original src2 to the dest. Since the actual scalar fma3 instructions copy the high elements from the dest register, the wrong values are copied.

This modifies the pattern to leave src1 and src2 in their original order.

Differential Revision: http://reviews.llvm.org/D9908

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238131 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-25 12:35:25 +00:00
..
Analysis
AsmParser
Bitcode
CodeGen Added promotion to EXTRACT_SUBVECTOR operand. 2015-05-25 11:33:13 +00:00
DebugInfo
ExecutionEngine Update ExecutionEngine/LLVMBuild.txt, to add LLVMCodeGen. 2015-05-23 10:44:30 +00:00
Fuzzer [lib/Fuzzer] doxygen-ify the comments for the user interface 2015-05-23 02:12:05 +00:00
IR
IRReader
LineEditor
Linker
LTO
MC
Object
Option
Passes
ProfileData
Support Reformat. 2015-05-25 01:43:34 +00:00
TableGen
Target [X86] When pattern-matching scalar FMA3 intrinsics, don't re-arrange the first and second operands. 2015-05-25 12:35:25 +00:00
Transforms Reformat. 2015-05-25 01:43:34 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile