llvm-6502/lib
Dan Gohman 4ea480499c Avoid forming a SELECT_CC in a type that the target doesn't
support. This isn't immediately interesting, because Legalize
ends up lowering SELECT_CC if the target doesn't support it,
but this simplifies the process.

Also, if the SELECT_CC would be expanded in Legalize, it
can potentially end up with two copies of the condition
expression. By leaving it as SELECT+SETCC, the SELECT can be
expanded into two SELECTs that use a single SETCC.

The two comparisons are usually CSE'd, but depending on
when various expressions get legalized, the comparison
expression could involve calls to library functions, such
that the comparison expression may not be able to be CSE'd.
This will be needed by a future patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77896 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-02 16:19:38 +00:00
..
Analysis LibCallAliasAnalysis doesn't use TargetData. 2009-07-31 20:56:29 +00:00
Archive Fix some non-sensical code. 2009-07-13 05:29:34 +00:00
AsmParser Move the metadata constructors back to 2.5 syntax. 2009-07-31 21:35:40 +00:00
Bitcode Move the metadata constructors back to 2.5 syntax. 2009-07-31 21:35:40 +00:00
CodeGen Avoid forming a SELECT_CC in a type that the target doesn't 2009-08-02 16:19:38 +00:00
CompilerDriver Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
ExecutionEngine In TrimAllocationToSize, if a block is below the minimum allocation size, 2009-07-29 22:55:02 +00:00
Linker Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are 2009-07-31 20:28:14 +00:00
MC Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
Support Remove duplicated colons and spaces. 2009-08-02 12:13:02 +00:00
System eXtensible Systems doesn't exist any more and Reid donated this to the 2009-08-01 22:54:17 +00:00
Target Fix indentation. 2009-08-02 16:10:52 +00:00
Transforms Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are 2009-07-31 20:28:14 +00:00
VMCore Privatize all but one of the remaining constant tables. 2009-07-31 22:45:43 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00