I did this a week or two ago

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86754 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-11-10 23:40:49 +00:00
parent fb0ee43438
commit b6ad9153dd

View File

@ -1612,12 +1612,6 @@ int int_char(char m) {if(m>7) return 0; return m;}
//===---------------------------------------------------------------------===//
IPSCCP is propagating elements of first class aggregates, but is not propagating
the entire aggregate itself. This leads it to miss opportunities, for example
in test/Transforms/SCCP/ipsccp-basic.ll:test5b.
//===---------------------------------------------------------------------===//
int func(int a, int b) { if (a & 0x80) b |= 0x80; else b &= ~0x80; return b; }
Generates this: