llvm-6502/test
Duncan Sands 9d32f60a6f At -O123 the early-cse pass is run before instcombine has run. According to my
auto-simplier the transform most missed by early-cse is (zext X) != 0 -> X != 0.
This patch adds this transform and some related logic to InstructionSimplify
and removes some of the logic from instcombine (unfortunately not all because
there are several situations in which instcombine can improve things by making
new instructions, whereas instsimplify is not allowed to do this).  At -O2 this
often results in more than 15% more simplifications by early-cse, and results in
hundreds of lines of bitcode being eliminated from the testsuite.  I did see some
small negative effects in the testsuite, for example a few additional instructions
in three programs.  One program, 483.xalancbmk, got an additional 35 instructions,
which seems to be due to a function getting an additional instruction and then
being inlined all over the place.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123911 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-20 13:21:55 +00:00
..
Analysis Similarly, analyze truncate through multiply. 2011-01-19 18:56:00 +00:00
Archive
Assembler Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Expand invalid return values for umulo and smulo. Handle these similarly 2011-01-20 08:54:28 +00:00
DebugInfo
ExecutionEngine
Feature
FrontendAda
FrontendC
FrontendC++
FrontendFortran
FrontendObjC Update tests to accomodate unnamed_addr introduction. 2011-01-17 17:54:17 +00:00
FrontendObjC++
Integer
lib
Linker Make everyone happy this time. 2011-01-16 21:34:34 +00:00
LLVMC
MC Fix the encoding of mrrc and mcrr family of instructions. Also add testcases for mcr and mrc 2011-01-19 16:56:52 +00:00
Object Object: Add some tests! 2011-01-20 06:39:15 +00:00
Other
Scripts
TableGen
Transforms At -O123 the early-cse pass is run before instcombine has run. According to my 2011-01-20 13:21:55 +00:00
Unit
Verifier
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh