summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-04-08 21:23:54 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-04-08 21:23:54 +0000
commit75f82345c4a4411a1d59340def27a305959255e3 (patch)
treee610d66d7b5de6bc5ae9bf959481e0f5dd5b9753 /llvm
parent5c7f596b4c58b433d5c78f89d9a87ce4f28f50e7 (diff)
downloadbcm5719-llvm-75f82345c4a4411a1d59340def27a305959255e3.tar.gz
bcm5719-llvm-75f82345c4a4411a1d59340def27a305959255e3.zip
Now that Evan Cheng has fixed the coalescer bug (r100804), the workaround code
to avoid memcpy() call is no longer necessary. llvm-svn: 100811
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/TableGen/ARMDecoderEmitter.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/ARMDecoderEmitter.cpp b/llvm/utils/TableGen/ARMDecoderEmitter.cpp
index 29e9b8ad8c2..55ea25b2104 100644
--- a/llvm/utils/TableGen/ARMDecoderEmitter.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud