llvm-6502/lib/Transforms
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
..
Hello Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Instrumentation Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
IPO Add explicit keywords. 2009-02-18 16:37:45 +00:00
Scalar Use a sign-extend instead of a zero-extend when promoting a 2009-02-18 17:22:41 +00:00
Utils Fix typo caused by too much surfing, dudes... 2009-02-16 04:26:53 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00