llvm-mirror/lib
Bill Wendling 5d026e47c1 Redo the arithmetic with overflow architecture. I was changing the semantics of
ISD::ADD to emit an implicit EFLAGS. This was horribly broken. Instead, replace
the intrinsic with an ISD::SADDO node. Then custom lower that into an
X86ISD::ADD node with a associated SETCC that checks the correct condition code
(overflow or carry). Then that gets lowered into the correct X86::ADDOvf
instruction.

Similar for SUB and MUL instructions.

llvm-svn: 60915
2008-12-12 00:56:36 +00:00
..
Analysis Sneaky, sneaky: move the -1 to the outside of the SMax. Reinstate the 2008-12-11 17:40:14 +00:00
Archive Silence unused variable warnings. 2008-11-21 20:00:59 +00:00
AsmParser Extend the 'noalias' attribute to function return values. This is intended to 2008-11-24 03:41:24 +00:00
Bitcode
CodeGen Redo the arithmetic with overflow architecture. I was changing the semantics of 2008-12-12 00:56:36 +00:00
Debugger
ExecutionEngine Fix MachineCodeEmitter to use uintptr_t instead of intptr_t. This avoids some overflow issues. Patch by Thomas Jablin. 2008-12-10 02:32:19 +00:00
Linker
Support remove unused var 2008-12-09 17:04:06 +00:00
System Don't use plain %x to print pointer values. I had changed it from %p 2008-12-05 23:39:24 +00:00
Target Redo the arithmetic with overflow architecture. I was changing the semantics of 2008-12-12 00:56:36 +00:00
Transforms Teach GVN to invalidate some memdep information when it does an RAUW 2008-12-09 22:06:23 +00:00
VMCore fix grammar, thanks Duncan! 2008-12-11 11:44:49 +00:00
Makefile