diff options
| author | Dan Gohman <gohman@apple.com> | 2009-08-12 16:37:02 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-08-12 16:37:02 +0000 |
| commit | 5ce93b36f58351fe389de5189b2867256b3fcb2c (patch) | |
| tree | 944d50d12cbc814a179260471312972297a06d3e /lib/Target | |
| parent | 0787890d5d3ba4ba6e73035ff87a05bbc13f62e6 (diff) | |
| download | external_llvm-5ce93b36f58351fe389de5189b2867256b3fcb2c.zip external_llvm-5ce93b36f58351fe389de5189b2867256b3fcb2c.tar.gz external_llvm-5ce93b36f58351fe389de5189b2867256b3fcb2c.tar.bz2 | |
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
Diffstat (limited to 'lib/Target')
| -rw-r--r-- | lib/Target/README.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 559835e..97546c4 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 |
