projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7ed3b
)
Remove an unused variable, fixing -Werror build with latest Clang.
author
Chandler Carruth
<chandlerc@gmail.com>
Thu, 12 Sep 2013 23:30:48 +0000
(23:30 +0000)
committer
Chandler 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
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index 34571e238d4a001bbc04d6f2e8fa26f836ca4870..d042ed0147c9abb3d225b81d3355b5acefc794e3 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
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;