[llvm-commits] [llvm] r81656 - /llvm/trunk/test/CodeGen/X86/fast-isel-fneg.ll

Dan Gohman gohman at apple.com
Sat Sep 12 16:45:48 PDT 2009


Author: djg
Date: Sat Sep 12 18:45:47 2009
New Revision: 81656

URL: http://llvm.org/viewvc/llvm-project?rev=81656&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CodeGen/X86/fast-isel-fneg.ll

Modified: llvm/trunk/test/CodeGen/X86/fast-isel-fneg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fast-isel-fneg.ll?rev=81656&r1=81655&r2=81656&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/fast-isel-fneg.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fast-isel-fneg.ll Sat Sep 12 18:45:47 2009
@@ -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





More information about the llvm-commits mailing list