llvm-6502/test
Chris Lattner 1add46ddfa Carve out a place in instcombine to put transformations which work knowing that their
result is non-zero.  Implement an example optimization (PR9814), which allows us to
transform:
  A / ((1 << B) >>u 2)
into:
  A >>u (B-2)

which we compile into:

_divu3:                                 ## @divu3
	leal	-2(%rsi), %ecx
	shrl	%cl, %edi
	movl	%edi, %eax
	ret

instead of:

_divu3:                                 ## @divu3
	movb	%sil, %cl
	movl	$1, %esi
	shll	%cl, %esi
	shrl	$2, %esi
	movl	%edi, %eax
	xorl	%edx, %edx
	divl	%esi, %eax
	ret



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131860 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-22 18:18:41 +00:00
..
Analysis I missed a checking with my GVN change. 2011-05-22 07:20:02 +00:00
Archive Many LLVM tests relies on standard output stream be in the binary mode. Which is not always the case (on Windows in particular). The patch adds a test to verify that the standard output stream is actually in the binary mode. 2011-05-05 18:40:27 +00:00
Assembler Tighten up checking of the validity of casts. (1) The IR parser would 2011-05-18 09:21:57 +00:00
Bindings/Ocaml
Bitcode It's valid to take the blockaddress of a different function, so remove this 2011-05-06 21:09:44 +00:00
BugPoint
CodeGen Implement mulo x, 2 -> addo x, x in DAGCombiner. 2011-05-21 18:31:55 +00:00
DebugInfo Looks like OS X assemblers (including MC) don't like 2011-05-19 22:05:56 +00:00
ExecutionEngine
Feature Revert r129235 pending a vetting of the EH rewrite. 2011-04-10 23:18:04 +00:00
FrontendAda
FrontendC Pass -disable-cfi to llc. 2011-05-06 18:01:58 +00:00
FrontendC++ Pass -disable-cfi to llc. 2011-05-06 18:01:58 +00:00
FrontendFortran
FrontendObjC Pass -disable-cfi to llc. 2011-05-06 18:01:58 +00:00
FrontendObjC++
Integer
lib
Linker
LLVMC
MC Fix Bug 9386 - ARM disassembler failed to disassemble conditional bx 2011-05-22 17:51:04 +00:00
Object
Other Move platform-dependent test to appropriate directory. 2011-05-13 19:45:05 +00:00
Scripts
TableGen Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
Transforms Carve out a place in instcombine to put transformations which work knowing that their 2011-05-22 18:18:41 +00:00
Unit
Verifier
CMakeLists.txt Fix compiler command line used by lit.py when working with NMake 2011-04-12 22:10:38 +00:00
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh