llvm-6502/test
Quentin Colombet c5a4c25b87 Fix a bug in instcombine for fmul in fast math mode.
The instcombine recognized pattern looks like:
a = b * c
d = a +/- Cst
or
a = b * c
d = Cst +/- a

When creating the new operands for fadd or fsub instruction following the related fmul, the first operand was created with the second original operand (M0 was created with C1) and the second with the first (M1 with Opnd0).

The fix consists in creating the new operands with the appropriate original operand, i.e., M0 with Opnd0 and M1 with C1.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176300 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-28 21:12:40 +00:00
..
Analysis Cost model support for lowered math builtins. 2013-02-28 19:09:33 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode Unify clang/llvm attributes for asan/tsan/msan (LLVM part) 2013-02-26 06:58:09 +00:00
BugPoint
CodeGen AArch64: be more careful resorting to inefficient addressing for weak vars. 2013-02-28 14:36:31 +00:00
DebugInfo Debug Info: for static member variables, always put AT_MIPS_linkage_name to the 2013-02-27 23:21:02 +00:00
ExecutionEngine Corrections for XFAIL armv5 tests 2013-02-28 10:05:10 +00:00
Feature
FileCheck
Instrumentation [msan] Implement sanitize_memory attribute. 2013-02-28 11:25:14 +00:00
Integer
JitListener
Linker
MC AArch64: remove post-encoder method from FCMP (immediate) instructions. 2013-02-28 14:46:14 +00:00
Object
Other IR: Don't constant fold GEP bitcasts between different address spaces 2013-02-27 02:26:42 +00:00
Scripts
TableGen
tools
Transforms Fix a bug in instcombine for fmul in fast math mode. 2013-02-28 21:12:40 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh