summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTilmann Scheller <t.scheller@samsung.com>2014-12-19 16:57:33 +0000
committerTilmann Scheller <t.scheller@samsung.com>2014-12-19 16:57:33 +0000
commite24bb41bad5a635a9d0aeca81f649cc811a8027c (patch)
tree342107c447a51a1fde863a279126d90d09b4013f /llvm
parent049ae4878d0eb076aefde3952feef4ba8d7f812c (diff)
downloadbcm5719-llvm-e24bb41bad5a635a9d0aeca81f649cc811a8027c.tar.gz
bcm5719-llvm-e24bb41bad5a635a9d0aeca81f649cc811a8027c.zip
[ARM] Remove dead assignment.
Found by the Clang static analyzer. llvm-svn: 224586
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp b/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
index c10c80919d7..928c8e3c009 100644
--- a/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
+++ b/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
@@ -234,7 +234,6 @@ void llvm::emitThumbRegPlusImmediate(MachineBasicBlock &MBB,
// If we would emit the copy with an immediate of 0, just use tMOVr.
if (CopyOpc && Bytes < CopyScale) {
CopyOpc = ARM::tMOVr;
- CopyBits = 0;
CopyScale = 1;
CopyNeedsCC = false;
CopyRange = 0;
OpenPOWER on IntegriCloud