[llvm-commits] CVS: llvm/utils/PerfectShuffle/PerfectShuffle.cpp

Reid Spencer reid at x10sys.com
Thu Nov 2 12:27:05 PST 2006



Changes in directory llvm/utils/PerfectShuffle:

PerfectShuffle.cpp updated: 1.8 -> 1.9
---
Log message:

For PR786: http://llvm.org/PR786 :
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining 
issues when they see them. All changes pass DejaGnu tests and Olden.


---
Diffs of the changes:  (+0 -1)

 PerfectShuffle.cpp |    1 -
 1 files changed, 1 deletion(-)


Index: llvm/utils/PerfectShuffle/PerfectShuffle.cpp
diff -u llvm/utils/PerfectShuffle/PerfectShuffle.cpp:1.8 llvm/utils/PerfectShuffle/PerfectShuffle.cpp:1.9
--- llvm/utils/PerfectShuffle/PerfectShuffle.cpp:1.8	Wed May 24 12:04:05 2006
+++ llvm/utils/PerfectShuffle/PerfectShuffle.cpp	Thu Nov  2 14:25:50 2006
@@ -296,7 +296,6 @@
         
       for (unsigned opnum = 0, e = TheOperators.size(); opnum != e; ++opnum) {
         Operator *Op = TheOperators[opnum];
-        unsigned short Mask = Op->ShuffleMask;
 
         // Evaluate op(LHS,LHS)
         unsigned ResultMask = Op->getTransformedMask(LHS, LHS);






More information about the llvm-commits mailing list