aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr9127.ll
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2011-06-01 17:17:45 +0000
committerStuart Hastings <stuart@apple.com>2011-06-01 17:17:45 +0000
commit10ff0bbdfbeb6f7485979744d16daea4795d45b2 (patch)
tree1d37d9920b2173c6502b35b95373217fef2ea2aa /test/CodeGen/X86/pr9127.ll
parentf1002828fdaffa4e005a81f269c77fe72951f39f (diff)
Add support for x86 CMPEQSS and friends. These instructions do a
floating-point comparison, generate a mask of 0s or 1s, and generally DTRT with NaNs. Only profitable when the user wants a materialized 0 or 1 at runtime. rdar://problem/5993888 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr9127.ll')
-rw-r--r--test/CodeGen/X86/pr9127.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/pr9127.ll b/test/CodeGen/X86/pr9127.ll
index 9b251f57e0..ba92c77e22 100644
--- a/test/CodeGen/X86/pr9127.ll
+++ b/test/CodeGen/X86/pr9127.ll
@@ -10,4 +10,4 @@ entry:
}
; test that the load is folded.
-; CHECK: ucomisd (%{{rdi|rdx}}), %xmm0
+; CHECK: cmpeqsd (%{{rdi|rdx}}), %xmm0