Remove unused variable to silence compiler warning.
authorRichard Trieu <rtrieu@google.com>
Wed, 9 May 2012 00:30:21 +0000 (00:30 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 9 May 2012 00:30:21 +0000 (00:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156456 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetRegisterInfo.cpp

index 50ba91e5b16b75f89153cb5f3fe5bfac5a093437..a989cf4a7af9fb75d99e0708baacd1697dc19265 100644 (file)
@@ -154,7 +154,6 @@ TargetRegisterInfo::getMatchingSuperRegClass(const TargetRegisterClass *A,
   assert(Idx && "Bad sub-register index");
 
   // Find Idx in the list of super-register indices.
-  const uint32_t *Mask = 0;
   for (SuperRegClassIterator RCI(B, this); RCI.isValid(); ++RCI)
     if (RCI.getSubReg() == Idx)
       // The bit mask contains all register classes that are projected into B