llvm-6502/test
Quentin Colombet 57b4c5d473 [X86] Add a test case for r208252.
Prior to r208252, the FMA 231 family was marked as isCommutable. However the
memory variants of this family are not commutable. Therefore, we did not
implemented the findCommutedOpIndices for those variants and missed that
the default implementation (more or less: commute indices 1 and 2) was
firing behind our back.
As a result, as demonstrated in the test case before the fix, we were
transforming a = b * c + a into a = a * c + b.

I.e., before r208252 we were generating for this test case:
vmovaps %xmm0, %xmm1
vmoss (%rsi), %xmm0
vfmadd231ss (%rdi), %xmm1, %xmm0

Instead of:
vmoss (%rsi), %xmm1
vfmadd231ss (%rdi), %xmm1, %xmm0

<rdar://problem/16800495> 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208260 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-07 22:52:58 +00:00
..
Analysis split delinearization pass in 3 steps 2014-05-07 18:01:20 +00:00
Assembler Reject alias to undefined symbols in the verifier. 2014-03-12 20:15:49 +00:00
Bindings
Bitcode
BugPoint
CodeGen [X86] Add a test case for r208252. 2014-05-07 22:52:58 +00:00
DebugInfo
ExecutionEngine
Feature
FileCheck
Instrumentation [msan] Fix -fsanitize=memory -fno-integrated-as. 2014-05-07 14:10:51 +00:00
Integer
JitListener
Linker
LTO
MC [mips] Add highly experimental support for MIPS-I, MIPS-II, MIPS-III, and MIPS-V 2014-05-07 16:25:22 +00:00
Object [yaml2obj] Support ELF x86 relocations. 2014-05-07 17:06:38 +00:00
Other
TableGen
tools
Transforms [InstCombine] Add optimization of redundant insertvalue instructions. 2014-05-07 14:30:18 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg [Test] Remove c-index-test from the list of substitutions 2014-05-07 18:16:02 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh