[llvm] r285936 - Delete a dead store found by PVS-Studio.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 10:01:39 PDT 2016


Author: chandlerc
Date: Thu Nov  3 12:01:38 2016
New Revision: 285936

URL: http://llvm.org/viewvc/llvm-project?rev=285936&view=rev
Log:
Delete a dead store found by PVS-Studio.

Quite sad we still aren't really using aggressive dead code warnings
from Clang that we could potentially use to catch this and so many other
things.

Modified:
    llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp

Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp?rev=285936&r1=285935&r2=285936&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp Thu Nov  3 12:01:38 2016
@@ -22,7 +22,6 @@ HexagonMCAsmInfo::HexagonMCAsmInfo(const
   Data16bitsDirective = "\t.half\t";
   Data32bitsDirective = "\t.word\t";
   Data64bitsDirective = nullptr;  // .xword is only supported by V9.
-  ZeroDirective = "\t.skip\t";
   CommentString = "//";
 
   LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment;




More information about the llvm-commits mailing list