From 9ca9daad2175cd57776e7de7fb6f78eb96fc7445 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 12 Aug 2009 16:37:02 +0000 Subject: Transform -X/C to X/-C, implementing a README.txt entry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78812 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/README.txt | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/Target') diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 559835e8b5..97546c4db5 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -1111,16 +1111,6 @@ optimized with "clang -emit-llvm-bc | opt -std-compile-opts". //===---------------------------------------------------------------------===// -We would like to do the following transform in the instcombiner: - - -X/C -> X/-C - -However, this isn't valid if (-X) overflows. We can implement this when we -have the concept of a "C signed subtraction" operator that which is undefined -on overflow. - -//===---------------------------------------------------------------------===// - This was noticed in the entryblock for grokdeclarator in 403.gcc: %tmp = icmp eq i32 %decl_context, 4 -- cgit v1.2.3-70-g09d2