From d71fb86aed1ddcf169a364f4b537f50e37e726c2 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 14 Nov 2012 20:31:42 +0000 Subject: [PATCH] Force CPU in test so we don't accidentally get AVX code on an AVX-capable host. llvm-svn: 167973 --- llvm/test/CodeGen/X86/memset.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/X86/memset.ll b/llvm/test/CodeGen/X86/memset.ll index 72b3e0f..95ff252 100644 --- a/llvm/test/CodeGen/X86/memset.ll +++ b/llvm/test/CodeGen/X86/memset.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=x86 -mattr=-sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 9 -; RUN: llc < %s -march=x86 -mattr=+sse -mtriple=i686-apple-darwin8.8.0 | grep mov | count 3 +; RUN: llc < %s -march=x86 -mcpu=pentium2 -mtriple=i686-apple-darwin8.8.0 | grep mov | count 9 +; RUN: llc < %s -march=x86 -mcpu=pentium3 -mtriple=i686-apple-darwin8.8.0 | grep mov | count 3 %struct.x = type { i16, i16 } -- 2.7.4