aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-25 06:06:13 +0000
committerChris Lattner <sabre@nondot.org>2003-04-25 06:06:13 +0000
commitbc19466912f4074bc0dc20d389fb1775a674dfd6 (patch)
tree8734440da48f663b1d8d07b51ca53856a8bd16d0
parent98938f83d52e01b10e34f9fc6db55e4787fa3dad (diff)
Make sure to copy double alignment as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5936 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llc/llc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index fa4c0d1fe2..f671a44959 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -186,7 +186,7 @@ main(int argc, char **argv)
Passes.add(new TargetData("llc", TD.isLittleEndian(), TD.getSubWordDataSize(),
TD.getIntegerRegSize(), TD.getPointerSize(),
- TD.getPointerAlignment()));
+ TD.getPointerAlignment(), TD.getDoubleAlignment()));
// Create a new optimization pass for each one specified on the command line
// Deal specially with tracing passes, which must be run differently than opt.