llvm/lib
Dan Gohman 339ffedca9 Don't mark scalar integer multiplication as Expand on x86, since x86
has plain one-result scalar integer multiplication instructions.
This avoids expanding such instructions into MUL_LOHI sequences that
must be special-cased at isel time, and avoids the problem with that
code that provented memory operands from being folded.

This fixes PR1874, addressesing the most common case. The uncommon
cases of optimizing multiply-high operations will require work
in DAGCombiner.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47277 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-18 17:55:26 +00:00
..
Analysis don't bother calling getUnderlyingObject for non-pointers. 2008-02-18 17:28:21 +00:00
Archive Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
AsmParser Back out mods to llvmAsmParser, incorrectly committed 2008-01-30 03:10:00 +00:00
Bitcode Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
CodeGen New helper function getMBBFromIndex() that given an index in any instruction of an MBB returns a pointer the MBB. Reviewed by Evan. 2008-02-18 09:35:30 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine Support vector constant zeros, thanks to Zack Rusin for the testcase. 2008-02-15 00:57:28 +00:00
Linker Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Support Fixed bug in FoldingSetIteratorImpl where we did not correctly check if 2008-02-15 21:12:46 +00:00
System It is not safe to call fork in PrintStackTrace. Sometimes it freezes the program. 2008-02-15 18:05:54 +00:00
Target Don't mark scalar integer multiplication as Expand on x86, since x86 2008-02-18 17:55:26 +00:00
Transforms Transforming -A + -B --> -(A + B) isn't safe for FP, thanks 2008-02-18 17:50:16 +00:00
VMCore Simplify caller updating using a CallSite, as 2008-02-18 17:32:13 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00