From 605f21a6c857260e2a46f09333ef223ad4cdee52 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 6 Jan 2011 13:19:46 +0000 Subject: [PATCH] EarlyCSE does this now (and GVN always did it). llvm-svn: 122960 --- llvm/lib/Target/README.txt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt index d83cd8bb963c..29bd10949e58 100644 --- a/llvm/lib/Target/README.txt +++ b/llvm/lib/Target/README.txt @@ -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 {