diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-09-12 23:30:48 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-09-12 23:30:48 +0000 |
commit | 51428e363f270b7b516655773344e2d983919e90 (patch) | |
tree | ff1f53c28ec53dab195fbf9d36c875f1532eaf1a /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | 1fff95c7023d343bee9f0e633169c91452ec5368 (diff) | |
download | bcm5719-llvm-51428e363f270b7b516655773344e2d983919e90.tar.gz bcm5719-llvm-51428e363f270b7b516655773344e2d983919e90.zip |
Remove an unused variable, fixing -Werror build with latest Clang.
llvm-svn: 190640
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index 34571e238d4..d042ed0147c 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -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; |