diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-11-30 13:08:13 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-11-30 13:08:13 +0000 |
commit | 9eef421e12c83a1783ff525ccb80d6799f2a495c (patch) | |
tree | 4f013a04f3c1c1cb5b4eb2437030bad1df19aad6 /llvm/lib/Target/README.txt | |
parent | 2fe322982475f900cc369ef245bb9de656cce286 (diff) | |
download | bcm5719-llvm-9eef421e12c83a1783ff525ccb80d6799f2a495c.tar.gz bcm5719-llvm-9eef421e12c83a1783ff525ccb80d6799f2a495c.zip |
Implement (A&((~A)|B)) -> A&B transformation in the instruction combiner. This
takes care of all permutations of this pattern.
llvm-svn: 60290
Diffstat (limited to 'llvm/lib/Target/README.txt')
-rw-r--r-- | llvm/lib/Target/README.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt index b0d93f0264a..bf7c0b14475 100644 --- a/llvm/lib/Target/README.txt +++ b/llvm/lib/Target/README.txt @@ -1086,16 +1086,6 @@ produces better code on X86. //===---------------------------------------------------------------------===// -From GCC Bug 33512: -int f(int y, int x) -{ - return x & ((~x) | y); -} -Should combine to x & y. Currently not optimized with "clang --emit-llvm-bc | opt -std-compile-opts". - -//===---------------------------------------------------------------------===// - From GCC Bug 15784: #define abs(x) x>0?x:-x int f(int x, int y) |