llvm-6502/lib
Tobias Grosser 46431d7a93 InstCombine: Match min/max hidden by sext/zext
X = sext x; x >s c ? X : C+1 --> X = sext x; X <s C+1 ? C+1 : X
X = sext x; x <s c ? X : C-1 --> X = sext x; X >s C-1 ? C-1 : X
X = zext x; x >u c ? X : C+1 --> X = zext x; X <u C+1 ? C+1 : X
X = zext x; x <u c ? X : C-1 --> X = zext x; X >u C-1 ? C-1 : X
X = sext x; x >u c ? X : C+1 --> X = sext x; X <u C+1 ? C+1 : X
X = sext x; x <u c ? X : C-1 --> X = sext x; X >u C-1 ? C-1 : X

Instead of calculating this with mixed types promote all to the
larger type. This enables scalar evolution to analyze this
expression. PR8866

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123034 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-07 21:33:14 +00:00
..
Analysis use isNullValue() to simplify code, add an assert. 2011-01-06 22:24:29 +00:00
Archive
AsmParser Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
Bitcode Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
CodeGen Appropriately truncate debug info range in dwarf output. 2011-01-07 21:30:41 +00:00
CompilerDriver Support/PathV1: Deprecate get{Basename,Dirname,Suffix}. 2010-12-18 22:23:07 +00:00
ExecutionEngine
Linker include the module identifier when emitting this warning, PR8865. 2010-12-30 02:49:45 +00:00
MC Fix PR8878. 2011-01-01 19:05:35 +00:00
Object
Support Fixed parsing of hex floats. 2011-01-06 16:55:14 +00:00
Target Revert 122959, it needs more thought. Add it back to README.txt with additional notes. 2011-01-07 20:42:20 +00:00
Transforms InstCombine: Match min/max hidden by sext/zext 2011-01-07 21:33:14 +00:00
VMCore Simplify the allocation and freeing of Users' operand lists, now that 2011-01-07 20:29:02 +00:00
Makefile