llvm-6502/include
Dan Gohman f5a309e989 Use a sign-extend instead of a zero-extend when promoting a
trip count value when the original loop iteration condition is
signed and the canonical induction variable won't undergo signed
overflow. This isn't required for correctness; it just preserves
more information about original loop iteration values.

Add a getTruncateOrSignExtend method to ScalarEvolution,
following getTruncateOrZeroExtend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64918 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18 17:22:41 +00:00
..
llvm Use a sign-extend instead of a zero-extend when promoting a 2009-02-18 17:22:41 +00:00
llvm-c Correct strange whitespace. 2009-02-06 07:01:00 +00:00