summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-09-12 23:30:48 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-09-12 23:30:48 +0000
commit51428e363f270b7b516655773344e2d983919e90 (patch)
treeff1f53c28ec53dab195fbf9d36c875f1532eaf1a /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parent1fff95c7023d343bee9f0e633169c91452ec5368 (diff)
downloadbcm5719-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.cpp1
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;
OpenPOWER on IntegriCloud