diff --git a/include/llvm/Analysis/DataStructure/DSGraphTraits.h b/include/llvm/Analysis/DataStructure/DSGraphTraits.h index 6febf34625e..789cf973d8e 100644 --- a/include/llvm/Analysis/DataStructure/DSGraphTraits.h +++ b/include/llvm/Analysis/DataStructure/DSGraphTraits.h @@ -110,7 +110,6 @@ template <> struct GraphTraits { }; static DSNode &dereference ( DSNode *N) { return *N; } -static const DSNode &dereferenceC(const DSNode *N) { return *N; } template <> struct GraphTraits { typedef DSNode NodeType; diff --git a/utils/PerfectShuffle/PerfectShuffle.cpp b/utils/PerfectShuffle/PerfectShuffle.cpp index e8bbc0ebdca..26d57bb9050 100644 --- a/utils/PerfectShuffle/PerfectShuffle.cpp +++ b/utils/PerfectShuffle/PerfectShuffle.cpp @@ -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.