mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
Now that Evan Cheng has fixed the coalescer bug (r100804), the workaround code
to avoid memcpy() call is no longer necessary. llvm-svn: 100811
This commit is contained in:
parent
0225dbbfee
commit
43b072e18d
@ -596,11 +596,7 @@ void Filter::recurse() {
|
||||
|
||||
bit_value_t BitValueArray[BIT_WIDTH];
|
||||
// Starts by inheriting our parent filter chooser's filter bit values.
|
||||
bit_value_t *BitVals = Owner->FilterBitValues;
|
||||
for (unsigned i = 0; i < BIT_WIDTH; ++i)
|
||||
BitValueArray[i] = BitVals[i];
|
||||
// FIXME: memcpy() is misoptimized with self-hosting llvm-gcc (-O1 and -O2).
|
||||
//memcpy(BitValueArray, Owner->FilterBitValues, sizeof(BitValueArray));
|
||||
memcpy(BitValueArray, Owner->FilterBitValues, sizeof(BitValueArray));
|
||||
|
||||
unsigned bitIndex;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user