[PATCH] D47993: [x86] fix mappings of cvttp2si x86 intrinsics to x86-specific nodes and isel patterns (PR37551)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 13 08:13:32 PDT 2018


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/mmx-cvt.ll:159
+; X86-NEXT:    cvttps2dq %xmm0, %xmm0
+; X86-NEXT:    movdq2q %xmm0, %mm0
 ; X86-NEXT:    paddd %mm0, %mm0
----------------
You can fix this regression by updating the fp_to_sint pattern at the bottom of X86InstrMMX.td to take X86cvttp2si


https://reviews.llvm.org/D47993





More information about the llvm-commits mailing list