llvm-6502/lib
Sanjoy Das 574e01c32e Teach ScalarEvolution to exploit min and max expressions when proving
isKnownPredicate.

The motivation for this change is to optimize away checks in loops
like this:

    limit = min(t, len)
    for (i = 0 to limit)
      if (i >= len || i < 0) throw_array_of_of_bounds();
      a[i] = ...

Differential Revision: http://reviews.llvm.org/D6635



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224285 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-15 22:50:15 +00:00
..
Analysis Teach ScalarEvolution to exploit min and max expressions when proving 2014-12-15 22:50:15 +00:00
AsmParser IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
Bitcode
CodeGen Revert "LiveRangeCalc: Rewrite subrange calculation" 2014-12-15 21:36:35 +00:00
DebugInfo
ExecutionEngine
IR IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
IRReader
LineEditor
Linker Clean up warning about unused variable 2014-12-15 21:47:09 +00:00
LTO
MC
Object
Option
ProfileData
Support
TableGen
Target x86: Emit LOCK prefix after DATA16 2014-12-15 22:34:58 +00:00
Transforms
CMakeLists.txt
LLVMBuild.txt
Makefile