[llvm-commits] [llvm] r100811 - /llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
Johnny Chen
johnny.chen at apple.com
Thu Apr 8 14:23:54 PDT 2010
Author: johnny
Date: Thu Apr 8 16:23:54 2010
New Revision: 100811
URL: http://llvm.org/viewvc/llvm-project?rev=100811&view=rev
Log:
Now that Evan Cheng has fixed the coalescer bug (r100804), the workaround code
to avoid memcpy() call is no longer necessary.
Modified:
llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
Modified: llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp?rev=100811&r1=100810&r2=100811&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp Thu Apr 8 16:23:54 2010
@@ -596,11 +596,7 @@
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;
More information about the llvm-commits
mailing list