[llvm-commits] CVS: llvm/utils/PerfectShuffle/PerfectShuffle.cpp
Chris Lattner
sabre at nondot.org
Thu Nov 2 17:45:27 PST 2006
Changes in directory llvm/utils/PerfectShuffle:
PerfectShuffle.cpp updated: 1.9 -> 1.10
---
Log message:
silence warning
---
Diffs of the changes: (+2 -0)
PerfectShuffle.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/utils/PerfectShuffle/PerfectShuffle.cpp
diff -u llvm/utils/PerfectShuffle/PerfectShuffle.cpp:1.9 llvm/utils/PerfectShuffle/PerfectShuffle.cpp:1.10
--- llvm/utils/PerfectShuffle/PerfectShuffle.cpp:1.9 Thu Nov 2 14:25:50 2006
+++ llvm/utils/PerfectShuffle/PerfectShuffle.cpp Thu Nov 2 19:45:13 2006
@@ -61,9 +61,11 @@
/// 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.
More information about the llvm-commits
mailing list