X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FREADME.txt;h=cbfa4cf35ba2f35ebf50ea79883ce7ad403fc5c7;hb=5cd95e1478ddb8f3f1efde56a1cd2db47b312d72;hp=093255e6af2d0314e97d83092624b4edbb48d6d5;hpb=503a86b731b9605e6fa3cab4458453e83347369f;p=oota-llvm.git diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 093255e6af2..cbfa4cf35ba 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -964,6 +964,12 @@ optimized with "clang -emit-llvm-bc | opt -std-compile-opts". //===---------------------------------------------------------------------===// +unsigned f(unsigned x) { return ((x & 7) + 1) & 15; } +The & 15 part should be optimized away, it doesn't change the result. Currently +not optimized with "clang -emit-llvm-bc | opt -std-compile-opts". + +//===---------------------------------------------------------------------===// + This was noticed in the entryblock for grokdeclarator in 403.gcc: %tmp = icmp eq i32 %decl_context, 4