aboutsummaryrefslogtreecommitdiffstats
path: root/utils/PerfectShuffle
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-11-03 01:45:13 +0000
committerChris Lattner <sabre@nondot.org>2006-11-03 01:45:13 +0000
commit64a8dddb73bba20dd24fb3a233a39cbc79040fef (patch)
tree5e797a524b192bfb737efbcaf33e51e4e9b94546 /utils/PerfectShuffle
parente03f09c64f6abc3f5ac11395b4500d14d9a81850 (diff)
downloadexternal_llvm-64a8dddb73bba20dd24fb3a233a39cbc79040fef.zip
external_llvm-64a8dddb73bba20dd24fb3a233a39cbc79040fef.tar.gz
external_llvm-64a8dddb73bba20dd24fb3a233a39cbc79040fef.tar.bz2
silence warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/PerfectShuffle')
-rw-r--r--utils/PerfectShuffle/PerfectShuffle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/PerfectShuffle/PerfectShuffle.cpp b/utils/PerfectShuffle/PerfectShuffle.cpp
index e8bbc0e..26d57bb 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.