summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr1462.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-25 20:01:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-25 20:01:08 +0000
commitaab87fe0ec98072580586850ed00bac3d00df6c0 (patch)
tree7a7439c4180e01a3804eb528022a98f6d024cdfc /test/CodeGen/X86/pr1462.ll
parentdbaa6ab8b5527ca32969f4baa0931a674b9f4eef (diff)
downloadllvm-aab87fe0ec98072580586850ed00bac3d00df6c0.tar.gz
llvm-aab87fe0ec98072580586850ed00bac3d00df6c0.tar.bz2
llvm-aab87fe0ec98072580586850ed00bac3d00df6c0.tar.xz
Store a DataLayout in Module.
Now that DataLayout is not a pass, store one in Module. Since the C API expects to be able to get a char* to the datalayout description, we have to keep a std::string somewhere. This patch keeps it in Module and also uses it to represent modules without a DataLayout. Once DataLayout is mandatory, we should probably move the string to DataLayout itself since it won't be necessary anymore to represent the special case of a module without a DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr1462.ll')
-rw-r--r--test/CodeGen/X86/pr1462.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/X86/pr1462.ll b/test/CodeGen/X86/pr1462.ll
index 62549a5035..3aa18609d4 100644
--- a/test/CodeGen/X86/pr1462.ll
+++ b/test/CodeGen/X86/pr1462.ll
@@ -1,8 +1,7 @@
; RUN: llc < %s
; PR1462
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-
-v64:64:64-v128:128:128-a0:0:64"
+target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
target triple = "x86_64-unknown-linux-gnu"
define hidden i128 @__addvti3(i128 %a1, i128 %b2) {