llvm/lib
Dale Johannesen 4150d83abe Make the implicit inputs and outputs of target-independent
ADDC/ADDE use MVT::i1 (later, whatever it gets legalized to)
instead of MVT::Flag.  Remove CARRY_FALSE in favor of 0; adjust
all target-independent code to use this format.

Most targets will still produce a Flag-setting target-dependent
version when selection is done.  X86 is converted to use i32
instead, which means TableGen needs to produce different code
in xxxGenDAGISel.inc.  This keys off the new supportsHasI1 bit
in xxxInstrInfo, currently set only for X86; in principle this
is temporary and should go away when all other targets have
been converted.  All relevant X86 instruction patterns are
modified to represent setting and using EFLAGS explicitly.  The
same can be done on other targets.

The immediate behavior change is that an ADC/ADD pair are no
longer tightly coupled in the X86 scheduler; they can be
separated by instructions that don't clobber the flags (MOV).
I will soon add some peephole optimizations based on using
other instructions that set the flags to feed into ADC.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72707 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-01 23:27:20 +00:00
..
Analysis Delete an obsolete sentance from a comment. 2009-05-31 16:18:57 +00:00
Archive
AsmParser Give embedded metadata its own type instead of relying on EmptyStructTy. 2009-05-30 05:06:04 +00:00
Bitcode Update the bitcode reader to support reading .bc files where the embedded 2009-06-01 04:42:10 +00:00
CodeGen Make the implicit inputs and outputs of target-independent 2009-06-01 23:27:20 +00:00
CompilerDriver -write-graph now can be used with -o. 2009-03-27 12:57:14 +00:00
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine Fix new CodeEmitter stuff to follow LLVM codying style. Patch by Aaron Gray 2009-06-01 19:57:37 +00:00
Linker Add a new "available_externally" linkage type. This is intended 2009-04-13 05:44:34 +00:00
Support Add support for letting the client choose different flavors of NaNs. Testcase to be 2009-05-30 03:49:43 +00:00
System Untabification. 2009-05-30 01:09:53 +00:00
Target Make the implicit inputs and outputs of target-independent 2009-06-01 23:27:20 +00:00
Transforms PR4286: Make RewriteLoadUserOfWholeAlloca and 2009-06-01 09:14:32 +00:00
VMCore Give embedded metadata its own type instead of relying on EmptyStructTy. 2009-05-30 05:06:04 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00