diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-03-16 13:53:07 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-03-16 13:53:07 +0000 |
commit | bfc4c983a6c523b95972cf43e1b202f8eb1ebfd2 (patch) | |
tree | b26b48b690988e6a71d1177dd7960280820e179e /test/CodeGen/X86/x86-64-malloc.ll | |
parent | 37947c6bad087605f07d73a0a418c3781e2eaaa9 (diff) | |
download | external_llvm-bfc4c983a6c523b95972cf43e1b202f8eb1ebfd2.zip external_llvm-bfc4c983a6c523b95972cf43e1b202f8eb1ebfd2.tar.gz external_llvm-bfc4c983a6c523b95972cf43e1b202f8eb1ebfd2.tar.bz2 |
test/CodeGen/X86: FileCheck-ize and add actions for x86_64-linux and x86_64-win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/x86-64-malloc.ll')
-rw-r--r-- | test/CodeGen/X86/x86-64-malloc.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/x86-64-malloc.ll b/test/CodeGen/X86/x86-64-malloc.ll index b4f1fa6..4aa0ec3 100644 --- a/test/CodeGen/X86/x86-64-malloc.ll +++ b/test/CodeGen/X86/x86-64-malloc.ll @@ -1,4 +1,6 @@ -; RUN: llc < %s -march=x86-64 | grep {shll.*3, %edi} +; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s +; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s +; CHECK: shll $3, {{%edi|%ecx}} ; PR3829 ; The generated code should multiply by 3 (sizeof i8*) as an i32, ; not as an i64! |