to avoid memcpy() call is no longer necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100811
91177308-0d34-0410-b5e6-
96231b3b80d8
bit_value_t BitValueArray[BIT_WIDTH];
// Starts by inheriting our parent filter chooser's filter bit values.
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));