EarlyCSE does this now (and GVN always did it).

llvm-svn: 122960
This commit is contained in:
Benjamin Kramer 2011-01-06 13:19:46 +00:00
parent 799b011276
commit 605f21a6c8
1 changed files with 0 additions and 11 deletions

View File

@ -2009,17 +2009,6 @@ entry:
//===---------------------------------------------------------------------===//
This compare could fold to false:
define i1 @g(i32 a) nounwind readnone {
%add = shl i32 %a, 1
%mul = shl i32 %a, 1
%cmp = icmp ugt i32 %add, %mul
ret i1 %cmp
}
//===---------------------------------------------------------------------===//
This code (from Benchmarks/Dhrystone/dry.c):
define i32 @Func1(i32, i32) nounwind readnone optsize ssp {