diff options
author | Preston Gurd <preston.gurd@intel.com> | 2013-09-16 22:22:07 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2013-09-16 22:22:07 +0000 |
commit | 0c190ad93f12027ec158eb2b0558d4ca375ecc39 (patch) | |
tree | 19dc77812936fed24245fc894ef34ee0c21630c7 /test/CodeGen/X86/atom-sched.ll | |
parent | b06ea25b4c4cff341194279e01c08d23fa022378 (diff) | |
download | llvm-0c190ad93f12027ec158eb2b0558d4ca375ecc39.tar.gz llvm-0c190ad93f12027ec158eb2b0558d4ca375ecc39.tar.bz2 llvm-0c190ad93f12027ec158eb2b0558d4ca375ecc39.tar.xz |
Add Atom Silvermont (slm) tests
- check that -mcpu=slm uses the call register indirect optimization
- check that -mcpu=slm runs the scheduler
- check that -mcpu=slm supports the movbe instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/atom-sched.ll')
-rw-r--r-- | test/CodeGen/X86/atom-sched.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/X86/atom-sched.ll b/test/CodeGen/X86/atom-sched.ll index 0d97e85358..fd18472bff 100644 --- a/test/CodeGen/X86/atom-sched.ll +++ b/test/CodeGen/X86/atom-sched.ll @@ -1,4 +1,5 @@ ; RUN: llc <%s -O2 -mcpu=atom -march=x86 -relocation-model=static | FileCheck -check-prefix=atom %s +; RUN: llc <%s -O2 -mcpu=slm -march=x86 -relocation-model=static | FileCheck -check-prefix=slm %s ; RUN: llc <%s -O2 -mcpu=core2 -march=x86 -relocation-model=static | FileCheck %s ; @@ -13,6 +14,9 @@ define void @func() nounwind uwtable { ; atom: imull ; atom-NOT: movl ; atom: imull +; slm: imull +; slm-NOT: movl +; slm: imull ; CHECK: imull ; CHECK: movl ; CHECK: imull |