llvm-6502/lib
Sanjoy Das cd5029d001 [SCEV] Unify getUnsignedRange and getSignedRange
Summary:
This removes some duplicated code, and also helps optimization: e.g. in
the test case added, `%idx ULT 128` in `@x` is not currently optimized
to `true` by `-indvars` but will be, after this change.

The only functional change in ths commit is that for add recurrences,
ScalarEvolution::getRange will be more aggressive -- computing the
unsigned (resp. signed) range for a SCEVAddRecExpr will now look at the
NSW (resp. NUW) bits and check for signed (resp. unsigned) overflow.
This can be a strict improvement in some cases (such as the attached
test case), and should be no worse in other cases.

Reviewers: atrick, nlewycky

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231709 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-09 21:43:43 +00:00
..
Analysis [SCEV] Unify getUnsignedRange and getSignedRange 2015-03-09 21:43:43 +00:00
AsmParser Fix a bug in the LLParser where we failed to diagnose landingpads with non-constant clause operands. 2015-03-09 07:13:42 +00:00
Bitcode Simplify expressions involving boolean constants with clang-tidy 2015-03-09 01:57:13 +00:00
CodeGen DwarfAccelTable: fix obvious typo. 2015-03-09 21:09:50 +00:00
DebugInfo
ExecutionEngine Simplify expressions involving boolean constants with clang-tidy 2015-03-09 01:57:13 +00:00
Fuzzer
IR InstCombine: fix fold "fcmp x, undef" to account for NaN 2015-03-09 03:20:25 +00:00
IRReader
LineEditor
Linker Remember to move a type to the correct set when setting the body. 2015-03-06 00:50:21 +00:00
LTO
MC Simplify expressions involving boolean constants with clang-tidy 2015-03-09 01:57:13 +00:00
Object Add support for Nuxi CloudABI. 2015-03-09 18:40:45 +00:00
Option
Passes [PM] Fixup for r231556 where I missed a dependency on intrinsics 2015-03-07 09:08:20 +00:00
ProfileData InstrProf: Allow hexadecimal function hashes in proftext format 2015-03-09 18:54:49 +00:00
Support Add support for Nuxi CloudABI. 2015-03-09 18:40:45 +00:00
TableGen
Target [Hexagon] Reverting r231699 2015-03-09 21:19:02 +00:00
Transforms Remove the remaining uses of abs64 and nuke it. 2015-03-09 20:20:16 +00:00
CMakeLists.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
LLVMBuild.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
Makefile [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00