diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-04-08 21:23:54 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-04-08 21:23:54 +0000 |
commit | 2d16a67b9466102ae479f0027cedc1a20dd493d1 (patch) | |
tree | 110a8d296f2b684bc67f85bc9afb0a70b98cf789 /utils/TableGen/ARMDecoderEmitter.cpp | |
parent | 22772214de79aa1c5ca38c4fb1da137d8fb30a05 (diff) |
Now that Evan Cheng has fixed the coalescer bug (r100804), the workaround code
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
Diffstat (limited to 'utils/TableGen/ARMDecoderEmitter.cpp')
-rw-r--r-- | utils/TableGen/ARMDecoderEmitter.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp index 29e9b8ad8c..55ea25b210 100644 --- a/utils/TableGen/ARMDecoderEmitter.cpp +++ b/utils/TableGen/ARMDecoderEmitter.cpp @@ -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; |