mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
I did this a week or two ago
llvm-svn: 86754
This commit is contained in:
parent
06e690849a
commit
67aac80393
@ -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…
x
Reference in New Issue
Block a user