]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
Remove unnecessary cast to void.
authorEric Christopher <echristo@gmail.com>
Wed, 27 Feb 2013 23:49:45 +0000 (23:49 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 27 Feb 2013 23:49:45 +0000 (23:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176222 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index aca09156731b360535ccd595019f499f04089de3..2d15591f4a5ff6a99ffd92e4e7ba651d243771f7 100644 (file)
@@ -1078,7 +1078,6 @@ void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) {
       }
 
       unsigned NumFastIselRemaining = std::distance(Begin, End);
-      (void) NumFastIselRemaining;
       // Do FastISel on as many instructions as possible.
       for (; BI != Begin; --BI) {
         const Instruction *Inst = llvm::prior(BI);