[llvm] r224586 - [ARM] Remove dead assignment.
Tilmann Scheller
t.scheller at samsung.com
Fri Dec 19 08:57:33 PST 2014
Author: tilmann
Date: Fri Dec 19 10:57:33 2014
New Revision: 224586
URL: http://llvm.org/viewvc/llvm-project?rev=224586&view=rev
Log:
[ARM] Remove dead assignment.
Found by the Clang static analyzer.
Modified:
llvm/trunk/lib/Target/ARM/Thumb1RegisterInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/Thumb1RegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Thumb1RegisterInfo.cpp?rev=224586&r1=224585&r2=224586&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Thumb1RegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Thumb1RegisterInfo.cpp Fri Dec 19 10:57:33 2014
@@ -234,7 +234,6 @@ void llvm::emitThumbRegPlusImmediate(Mac
// 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;
More information about the llvm-commits
mailing list