From: Dan Gohman Date: Sat, 12 Sep 2009 23:45:47 +0000 (+0000) Subject: Add -mattr=+sse2 to the -march=x86 version of this test. Without X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d11c4de5ce19b302da8a0f784b28270b014819a0;p=oota-llvm.git Add -mattr=+sse2 to the -march=x86 version of this test. Without sse, this code falls back to SelectionDAG isel which uses an x87 instruction, which is fine, but not what this test is testing for. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81656 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/fast-isel-fneg.ll b/test/CodeGen/X86/fast-isel-fneg.ll index cc0f3de4f76..5ffd48bce65 100644 --- a/test/CodeGen/X86/fast-isel-fneg.ll +++ b/test/CodeGen/X86/fast-isel-fneg.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -fast-isel -fast-isel-abort -march=x86-64 | FileCheck %s -; RUN: llc < %s -fast-isel -march=x86 | grep xor | count 2 +; RUN: llc < %s -fast-isel -march=x86 -mattr=+sse2 | grep xor | count 2 ; CHECK: doo: ; CHECK: xor