silence warning
authorChris Lattner <sabre@nondot.org>
Fri, 3 Nov 2006 01:45:13 +0000 (01:45 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 Nov 2006 01:45:13 +0000 (01:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31402 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/DSGraphTraits.h
utils/PerfectShuffle/PerfectShuffle.cpp

index 6febf34625ebac7a4a435e62551fc08c7e98896d..789cf973d8ea8d18202d78e0fcd4d74eff88665a 100644 (file)
@@ -110,7 +110,6 @@ template <> struct GraphTraits<const DSNode*> {
 };
 
 static       DSNode &dereference (      DSNode *N) { return *N; }
-static const DSNode &dereferenceC(const DSNode *N) { return *N; }
 
 template <> struct GraphTraits<DSGraph*> {
   typedef DSNode NodeType;
index e8bbc0ebdcaafeb153622bd18e4cd50129bc616a..26d57bb9050a1b39d5c85155b7d5325e4b02115b 100644 (file)
@@ -61,9 +61,11 @@ static bool isOnlyLHSMask(unsigned short Mask) {
 /// getLHSOnlyMask - Given a mask that refers to its LHS and RHS, modify it to
 /// refer to the LHS only (for when one argument value is passed into the same
 /// function twice).
+#if 0
 static unsigned short getLHSOnlyMask(unsigned short Mask) {
   return Mask & 0xBBBB;  // Keep only LHS and Undefs.
 }
+#endif
 
 /// getCompressedMask - Turn a 16-bit uncompressed mask (where each elt uses 4
 /// bits) into a compressed 13-bit mask, where each elt is multiplied by 9.