From 9eef421e12c83a1783ff525ccb80d6799f2a495c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 30 Nov 2008 13:08:13 +0000 Subject: Implement (A&((~A)|B)) -> A&B transformation in the instruction combiner. This takes care of all permutations of this pattern. llvm-svn: 60290 --- llvm/lib/Target/README.txt | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'llvm/lib/Target/README.txt') 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) -- cgit v1.2.3