mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
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:
parent
fb0ee43438
commit
b6ad9153dd
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user