llvm/lib
Duncan Sands 47b3417cf0 Sign-extend rather than zero-extend when promoting
the condition for a BRCOND, according to what is
returned by getSetCCResultContents.  Since all
targets return the same thing (ZeroOrOneSetCCResult),
this should be harmless!  The point is that all over
the place the result of SETCC is fed directly into
BRCOND.  On machines for which getSetCCResultContents
returns ZeroOrNegativeOneSetCCResult, this is a
sign-extended boolean.  So it seems dangerous to
also feed BRCOND zero-extended booleans in some
circumstances - for example, when promoting the
condition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58861 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-07 20:13:04 +00:00
..
Analysis Don't crash analyzing certain quadratics (addrec of {X,+,Y,+,1}). 2008-11-03 02:43:49 +00:00
Archive Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
AsmParser regenerate 2008-11-04 14:43:20 +00:00
Bitcode Make sure to set stdout to binary when writing bitcode files via 2008-10-23 19:37:34 +00:00
CodeGen Sign-extend rather than zero-extend when promoting 2008-11-07 20:13:04 +00:00
Debugger Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
ExecutionEngine Jump tables may be emitted by target. 2008-11-07 09:02:17 +00:00
Linker Make comments and code for QuietWarnings and QuietErrors 2008-10-25 17:57:20 +00:00
Support Overload AddInteger on int/long/long long instead of on int/int64_t, 2008-11-03 19:40:18 +00:00
System plug leakage of mutex data. pthread_mutex_destroy() doesnt free our malloc'ed memory. 2008-11-06 16:21:49 +00:00
Target Flush the raw_ostream after emitting the assembly for a function. 2008-11-07 19:49:17 +00:00
Transforms BCUI + 1 doesn't work. Use next instead. 2008-11-07 01:59:41 +00:00
VMCore Fix a use of an invalid iterator when -debug-pass=Details is used. 2008-11-06 21:57:17 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00