llvm-capstone/llvm/lib
Wojciech Matyjewicz 1d2c27b23e Fix PR2002. Suppose n is the initial value for the induction
variable (with step 1) and m is its final value. Then, the correct trip 
count is SMAX(m,n)-n. Previously, we used SMAX(0,m-n), but m-n may 
overflow and can't in general be interpreted as signed.

Patch by Nick Lewycky.

llvm-svn: 47007
2008-02-12 15:09:36 +00:00
..
Analysis Fix PR2002. Suppose n is the initial value for the induction 2008-02-12 15:09:36 +00:00
Archive Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
AsmParser Back out mods to llvmAsmParser, incorrectly committed 2008-01-30 03:10:00 +00:00
Bitcode Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
CodeGen Generalize the handling of call and return arguments, 2008-02-11 20:58:28 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
Linker Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Support Added "Profile" method to APFloat for use with FoldingSet. 2008-02-11 17:24:50 +00:00
System Set error message. 2008-02-04 20:57:54 +00:00
Target Update comment. 2008-02-12 07:59:55 +00:00
Transforms Fix for bug 1996: optimize out loads of undef. This code basically just 2008-02-12 12:08:14 +00:00
VMCore check that terminators only occur at the end of a block. This catches the 2008-02-09 01:06:01 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00