1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test
Duncan Sands 88fc6cd7fe Generalize the reassociation transform in SimplifyCommutative (now renamed to
SimplifyAssociativeOrCommutative) "(A op C1) op C2" -> "A op (C1 op C2)",
which previously was only done if C1 and C2 were constants, to occur whenever
"C1 op C2" simplifies (a la InstructionSimplify).  Since the simplifying operand
combination can no longer be assumed to be the right-hand terms, consider all of
the possible permutations.  When compiling "gcc as one big file", transform 2
(i.e. using right-hand operands) fires about 4000 times but it has to be said
that most of the time the simplifying operands are both constants.  Transforms
3, 4 and 5 each fired once.  Transform 6, which is an existing transform that
I didn't change, never fired.  With this change, the testcase is now optimized
perfectly with one run of instcombine (previously it required instcombine +
reassociate + instcombine, and it may just have been luck that this worked).

llvm-svn: 119002
2010-11-13 15:10:37 +00:00
..
Analysis Delete unneeded ssp attributes. 2010-11-11 21:08:46 +00:00
Archive
Assembler The pshufw instruction came about in MMX2 when SSE was introduced. Don't place 2010-10-04 20:24:01 +00:00
Bindings/Ocaml Don't test a removed function. 2010-10-09 15:53:25 +00:00
Bitcode Testcase for PR8494 (invalid bitcode crashing the bitcode reader). 2010-10-28 15:57:30 +00:00
BugPoint
CodeGen Add conditional move of large immediate. 2010-11-13 02:25:14 +00:00
DebugInfo FileCheckize 2010-10-15 16:06:42 +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 Testcase for llvm-gcc 118368. 8629268. 2010-11-07 04:58:48 +00:00
FrontendC++ Generalize DISubprogram element to encode various flags instead of just one boolean for isArtificial. 2010-09-29 21:04:46 +00:00
FrontendFortran
FrontendObjC
FrontendObjC++ Temporarily revert r117079; it broke a tester. Radar 6635085. 2010-10-22 18:44:22 +00:00
Integer
lib
Linker Fix PR8300 by remembering to keep the bitcast in all cases. 2010-10-19 02:02:57 +00:00
LLVMC Remove -llvmc-temp-hack from tblgen. 2010-10-23 07:32:53 +00:00
MC Fixed error and re-enabled MBlaze MC disassembler tests. 2010-11-13 05:48:21 +00:00
Other Make BasicAliasAnalysis a normal AliasAnalysis implementation which 2010-10-18 18:04:47 +00:00
Scripts test/Scripts/macho-dump: Make hack for Python-2.4. [PR7995] 2010-10-29 01:14:16 +00:00
TableGen Generalize tblgen's dag parsing logic to handle arbitrary expressions 2010-10-06 04:55:48 +00:00
Transforms Generalize the reassociation transform in SimplifyCommutative (now renamed to 2010-11-13 15:10:37 +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 test/Makefile: Force lit -j1 on Cygwin. 2010-10-22 09:40:37 +00:00
Makefile.tests
site.exp.in
TestRunner.sh