[llvm] r190640 - Remove an unused variable, fixing -Werror build with latest Clang.

Chandler Carruth chandlerc at gmail.com
Thu Sep 12 16:30:48 PDT 2013


Author: chandlerc
Date: Thu Sep 12 18:30:48 2013
New Revision: 190640

URL: http://llvm.org/viewvc/llvm-project?rev=190640&view=rev
Log:
Remove an unused variable, fixing -Werror build with latest Clang.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=190640&r1=190639&r2=190640&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Thu Sep 12 18:30:48 2013
@@ -609,7 +609,6 @@ static void getMaxByValAlign(Type *Ty, u
 /// 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;





More information about the llvm-commits mailing list