1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test
Duncan Sands 555525adf4 Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in a
fairly systematic way in instcombine.  Some of these cases were already dealt
with, in which case I removed the existing code.  The case of Add has a bunch of
funky logic which covers some of this plus a few variants (considers shifts to be
a form of multiplication), which I didn't touch.  The simplification performed is:
A*B+A*C -> A*(B+C).  The improvement is to do this in cases that were not already
handled [such as A*B-A*C -> A*(B-C), which was reported on the mailing list], and
also to do it more often by not checking for "only one use" if "B+C" simplifies.

llvm-svn: 120024
2010-11-23 14:23:47 +00:00
..
Analysis Delete unneeded ssp attributes. 2010-11-11 21:08:46 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Division by pow-of-2 is not cheap on SPU, do it with 2010-11-23 13:27:59 +00:00
DebugInfo Change CodeGen to use .loc directives. This produces a lot more readable output 2010-11-18 02:04:25 +00:00
ExecutionEngine lli: Switch to using ParseIRFile, for consistency with other LLVM tools. 2010-11-13 00:28:01 +00:00
Feature
FrontendAda
FrontendC Test for llvm-gcc patch 119392. 2010-11-16 21:57:15 +00:00
FrontendC++
FrontendFortran
FrontendObjC
FrontendObjC++
Integer
lib
Linker
LLVMC
MC Produce a relocation for pcrel absolute values. Based on a patch by David Meyer. 2010-11-23 07:20:12 +00:00
Other
Scripts test/Scripts/macho-dump: Make hack for Python-2.4. [PR7995] 2010-10-29 01:14:16 +00:00
TableGen
Transforms Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in a 2010-11-23 14:23:47 +00:00
Unit
Verifier
CMakeLists.txt CMake: Add the new option "LLVM_LIT_ARGS". 2010-11-11 04:09:35 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh