[PATCH] D24343: [X86][SSE] Improve recognition of uitofp conversions that can be performed as sitofp
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 12:26:43 PDT 2016
majnemer added a subscriber: majnemer.
================
Comment at: test/CodeGen/X86/i64-to-float.ll:91-94
@@ +90,6 @@
+; X32-SSE-NEXT: movq %xmm0, {{[0-9]+}}(%esp)
+; X32-SSE-NEXT: fildll {{[0-9]+}}(%esp)
+; X32-SSE-NEXT: fstpl {{[0-9]+}}(%esp)
+; X32-SSE-NEXT: fildll {{[0-9]+}}(%esp)
+; X32-SSE-NEXT: fstpl (%esp)
+; X32-SSE-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero
----------------
Was this here before?
================
Comment at: test/CodeGen/X86/i64-to-float.ll:112-115
@@ +111,6 @@
+; X32-AVX-NEXT: vmovq %xmm0, {{[0-9]+}}(%esp)
+; X32-AVX-NEXT: fildll {{[0-9]+}}(%esp)
+; X32-AVX-NEXT: fstpl {{[0-9]+}}(%esp)
+; X32-AVX-NEXT: fildll {{[0-9]+}}(%esp)
+; X32-AVX-NEXT: fstpl (%esp)
+; X32-AVX-NEXT: vmovsd {{.*#+}} xmm0 = mem[0],zero
----------------
Ditto.
Repository:
rL LLVM
https://reviews.llvm.org/D24343
More information about the llvm-commits
mailing list