llvm-mirror/include
Duncan Sands 60220e7127 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.

llvm-svn: 58861
2008-11-07 20:13:04 +00:00
..
llvm Sign-extend rather than zero-extend when promoting 2008-11-07 20:13:04 +00:00
llvm-c Add C bindings for extractvalue and insertvalue. Patch by Frits van Bommel! 2008-11-03 22:55:43 +00:00