[PATCH] D68360: PR41162 Implement LKK remainder and divisibility algorithms [urem]
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 2 08:16:04 PDT 2019
xbolva00 added inline comments.
================
Comment at: llvm/test/CodeGen/X86/urem-lkk.ll:110
+
+define void @urem_loop(i32 %x) {
+entry:
----------------
This loop test we dont need I think.
If you want to leave it, please regenerate CHECKs.
================
Comment at: llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll:577
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vpmovzxwd {{.*#+}} zmm0 = ymm0[0],zero,ymm0[1],zero,ymm0[2],zero,ymm0[3],zero,ymm0[4],zero,ymm0[5],zero,ymm0[6],zero,ymm0[7],zero,ymm0[8],zero,ymm0[9],zero,ymm0[10],zero,ymm0[11],zero,ymm0[12],zero,ymm0[13],zero,ymm0[14],zero,ymm0[15],zero
+; AVX512BW-NEXT: vpmulld {{.*}}(%rip){1to16}, %zmm0, %zmm0
----------------
Not sure if this avx512’s code is a improvement.
@craig.topper ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68360/new/
https://reviews.llvm.org/D68360
More information about the llvm-commits
mailing list