summaryrefslogtreecommitdiff
path: root/lib/Target/README.txt
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-11-22 20:31:27 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-11-22 20:31:27 +0000
commit93f8455d73858c418ee7371b8e89094716df8fc7 (patch)
treee002622a9e480dd345ee8135c7630ccbeef8f159 /lib/Target/README.txt
parent28ef0a5719c41ed9654156aa9db7a656d020d7b5 (diff)
InstCombine: Implement X - A*-B -> X + A*B.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r--lib/Target/README.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 1ec4cdf4ba9..4d5b17ab367 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -1736,22 +1736,6 @@ Another similar case involves truncations on 64-bit targets:
...
%367 = icmp eq i32 %362, 0 ; [#uses=1]
-
-//===---------------------------------------------------------------------===//
-
-Missed instcombine/dagcombine transformation:
-define i32 @a(i32 %x, i32 %y) nounwind readnone {
-entry:
- %mul = mul i32 %y, -8
- %sub = sub i32 %x, %mul
- ret i32 %sub
-}
-
-Should compile to something like x+y*8, but currently compiles to an
-inefficient result. Testcase derived from gcc. C testcase:
-
-int a(int x, int y) { return y-x*-8; }
-
//===---------------------------------------------------------------------===//
Missed instcombine/dagcombine transformation: