Remove an unused variable, fixing -Werror build with latest Clang.
authorChandler Carruth <chandlerc@gmail.com>
Thu, 12 Sep 2013 23:30:48 +0000 (23:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 12 Sep 2013 23:30:48 +0000 (23:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190640 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index 34571e238d4a001bbc04d6f2e8fa26f836ca4870..d042ed0147c9abb3d225b81d3355b5acefc794e3 100644 (file)
@@ -609,7 +609,6 @@ static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign,
 /// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
 /// function arguments in the caller parameter area.
 unsigned PPCTargetLowering::getByValTypeAlignment(Type *Ty) const {
-  const TargetMachine &TM = getTargetMachine();
   // Darwin passes everything on 4 byte boundary.
   if (PPCSubTarget.isDarwin())
     return 4;