[PATCH] D68717: [Codegen] More add_sat and sub_sat promotion

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 08:29:35 PST 2019


xbolva00 added inline comments.


================
Comment at: llvm/test/CodeGen/X86/ssub_sat_vec.ll:600
 ; AVX1-NEXT:    vpand %xmm2, %xmm0, %xmm0
-; AVX1-NEXT:    vpsubsb %xmm1, %xmm0, %xmm0
-; AVX1-NEXT:    vpxor %xmm1, %xmm1, %xmm1
-; AVX1-NEXT:    vpcmpgtb %xmm0, %xmm1, %xmm0
+; AVX1-NEXT:    vpcmpgtb %xmm0, %xmm3, %xmm0
+; AVX1-NEXT:    vpsubb %xmm1, %xmm0, %xmm0
----------------
Regressions:(


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68717/new/

https://reviews.llvm.org/D68717





More information about the llvm-commits mailing list