llvm-6502/test
David Majnemer f723e5d1c2 InstCombine: Be more agressive optimizing 'udiv' instrs with 'select' denoms
Real world code sometimes has the denominator of a 'udiv' be a
'select'.  LLVM can handle such cases but only when the 'select'
operands are symmetric in structure (both select operands are a constant
power of two or a left shift, etc.).  This falls apart if we are dealt a
'udiv' where the code is not symetric or if the select operands lead us
to more select instructions.

Instead, we should treat the LHS and each select operand as a distinct
divide operation and try to optimize them independently.  If we can
to simplify each operation, then we can replace the 'udiv' with, say, a
'lshr' that has a new select with a bunch of new operands for the
select.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185257 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-29 08:40:07 +00:00
..
Analysis Minimize precision loss when computing cyclic probabilities. 2013-06-28 22:40:43 +00:00
Archive Fix an ordering problem in the test. 2013-06-21 07:23:14 +00:00
Assembler Added support for the Builtin attribute. 2013-06-27 00:25:01 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen PPC: Ignore spill/restore requests for VRSAVE (except on Darwin) 2013-06-28 22:29:56 +00:00
DebugInfo DebugInfo: PR14728: TLS support 2013-06-28 20:05:11 +00:00
ExecutionEngine Enable mcjit tests on ppc64 when building with cmake. 2013-06-03 19:17:21 +00:00
Feature Add a new function attribute 'cold' to functions. 2013-05-24 12:26:52 +00:00
FileCheck Add 'CHECK-DAG' support 2013-05-14 20:34:12 +00:00
Instrumentation [asan] workaround for PR16277: don't instrument AllocaInstr with alignment more than the redzone size 2013-06-26 09:49:52 +00:00
Integer
JitListener
Linker Extend RemapInstruction and friends to take an optional new parameter, a ValueMaterializer. 2013-05-28 15:17:05 +00:00
MC ARM: Fix pseudo-instructions for SRS (Store Return State). 2013-06-28 15:09:46 +00:00
Object [yaml2obj][ELF] Make symbol table top-level key. 2013-06-22 01:38:00 +00:00
Other Suppress llvm/test/Other/can-execute.txt on msys bash. 2013-06-26 10:56:44 +00:00
TableGen
tools readobj: Dump PE/COFF optional records. 2013-06-12 19:10:33 +00:00
Transforms InstCombine: Be more agressive optimizing 'udiv' instrs with 'select' denoms 2013-06-29 08:40:07 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg Suppress llvm/test/Other/can-execute.txt on msys bash. 2013-06-26 10:56:44 +00:00
lit.site.cfg.in Allow host triple to be correctly overridden in CMake builds 2013-05-04 07:36:23 +00:00
Makefile add polly to check-all 2013-05-20 18:49:15 +00:00
Makefile.tests
TestRunner.sh