diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-06-21 17:06:24 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-06-21 17:06:24 +0000 |
commit | deed5791402dc1e7402a5ec98948c7a605c7d227 (patch) | |
tree | 54ab162180a7f4369d036ddfffdd32f7c86dcbf3 /llvm/test/Transforms/CodeGenPrepare/X86/memcmp.ll | |
parent | 0f8a345fb4b1e75b27191c139632bc00fe644923 (diff) | |
download | bcm5719-llvm-deed5791402dc1e7402a5ec98948c7a605c7d227.tar.gz bcm5719-llvm-deed5791402dc1e7402a5ec98948c7a605c7d227.zip |
[x86] set the datalayout to match the RUN line triple; NFC
I don't think there's any visible difference from having the wrong layout
for the 32-bit case at this point, but that could change in the future.
llvm-svn: 305931
Diffstat (limited to 'llvm/test/Transforms/CodeGenPrepare/X86/memcmp.ll')
-rw-r--r-- | llvm/test/Transforms/CodeGenPrepare/X86/memcmp.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/memcmp.ll b/llvm/test/Transforms/CodeGenPrepare/X86/memcmp.ll index 337889b34d6..690e714af26 100644 --- a/llvm/test/Transforms/CodeGenPrepare/X86/memcmp.ll +++ b/llvm/test/Transforms/CodeGenPrepare/X86/memcmp.ll @@ -1,7 +1,5 @@ -; RUN: opt -S -codegenprepare -mtriple=i686-unknown-unknown < %s | FileCheck %s --check-prefix=ALL --check-prefix=X32 -; RUN: opt -S -codegenprepare -mtriple=x86_64-unknown-unknown < %s | FileCheck %s --check-prefix=ALL --check-prefix=X64 - -target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" +; RUN: opt -S -codegenprepare -mtriple=i686-unknown-unknown -data-layout=e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128 < %s | FileCheck %s --check-prefix=ALL --check-prefix=X32 +; RUN: opt -S -codegenprepare -mtriple=x86_64-unknown-unknown -data-layout=e-m:o-i64:64-f80:128-n8:16:32:64-S128 < %s | FileCheck %s --check-prefix=ALL --check-prefix=X64 declare i32 @memcmp(i8* nocapture, i8* nocapture, i64) |