llvm-6502/lib
Chris Lattner 2f690c84fa Implement a few symbolic constant folding things. X ? Y : Y is Y.
Fold:
seteq ({ short }* cast (int 1 to { short }*), { short }* null)
setlt ({ short }* cast (int 1 to { short }*), { short }* cast (int 2 to { short }*))

to false/true.  These last two commonly occur in the output of compilers that
tag integers, like cozmic's scheme compiler.

Tested by Regression/Assembler/ConstantExprFold.llx


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25112 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-05 07:49:30 +00:00
..
Analysis Make the -print-alias-sets pass work for printing out something other than 2006-01-03 06:05:22 +00:00
Archive more C++ daintiness 2005-12-26 14:31:26 +00:00
AsmParser Regenerate 2005-12-21 18:31:50 +00:00
Bytecode more C++ daintiness 2005-12-26 14:31:26 +00:00
CodeGen Added initial support for DEBUG_LABEL allowing debug specific labels to be 2006-01-05 01:25:28 +00:00
Debugger dum de dum 2005-12-26 10:24:15 +00:00
ExecutionEngine Fix a nasty bug that was causing miscompilation of global variables 2005-10-23 23:54:56 +00:00
Linker Adjust the constructor to the Linker class to take an argument that names 2005-12-13 20:00:37 +00:00
Support HP aCC chokes on this, but it's not required anyway: according to 2005-12-26 05:00:25 +00:00
System For PR351: 2005-12-22 20:00:16 +00:00
Target unbreak the build, these are now in TargetSelectionDAG.td 2006-01-05 04:48:15 +00:00
Transforms Pull inline methods out of the pass class definition to make it easier to 2006-01-03 19:13:17 +00:00
VMCore Implement a few symbolic constant folding things. X ? Y : Y is Y. 2006-01-05 07:49:30 +00:00
Makefile