implemented, testcase here: test/Regression/CodeGen/X86/compare-add.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25899 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-02-02 06:36:48 +00:00
parent b3ddfc42af
commit 1bac941019

View File

@ -289,16 +289,6 @@ The pattern isel got this one right.
//===---------------------------------------------------------------------===//
This shouldn't have an explicit ADD (target independent dag combiner hack):
bool %X(int %X) {
%Y = add int %X, 14
%Z = setne int %Y, 12345
ret bool %Z
}
//===---------------------------------------------------------------------===//
We need to lower switch statements to tablejumps when appropriate instead of
always into binary branch trees.