summaryrefslogtreecommitdiffstats
path: root/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
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
commit16e05c378d3446144da31c95a52d199a61f464fe (patch)
treecf514e4508dd2fb6a6c00ff2fe4135dbda21fa0c /llvm/utils/PerfectShuffle/PerfectShuffle.cpp
parent6b1fe928b1fc1f638a553b8cc5658636aa64dd53 (diff)
downloadbcm5719-llvm-16e05c378d3446144da31c95a52d199a61f464fe.tar.gz
bcm5719-llvm-16e05c378d3446144da31c95a52d199a61f464fe.zip
silence warning
llvm-svn: 31402
Diffstat (limited to 'llvm/utils/PerfectShuffle/PerfectShuffle.cpp')
-rw-r--r--llvm/utils/PerfectShuffle/PerfectShuffle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp b/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
index e8bbc0ebdca..26d57bb9050 100644
--- a/llvm/utils/PerfectShuffle/PerfectShuffle.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud