Make sure to copy double alignment as well
authorChris Lattner <sabre@nondot.org>
Fri, 25 Apr 2003 06:06:13 +0000 (06:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Apr 2003 06:06:13 +0000 (06:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5936 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/llc.cpp

index fa4c0d1fe29e9d203423aba46b5f7348fc82781c..f671a44959295bdc3b7fa002e1af789aa8849506 100644 (file)
@@ -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.