[PATCH] D44612: [X86] Generalize schedule classes to support multiple stages

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 18 15:21:36 PDT 2018


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/avx2-schedule.ll:612
 ; GENERIC-NEXT:    vmpsadbw $7, %ymm1, %ymm0, %ymm0 # sched: [5:1.00]
-; GENERIC-NEXT:    vmpsadbw $7, (%rdi), %ymm0, %ymm0 # sched: [11:1.00]
+; GENERIC-NEXT:    vmpsadbw $7, (%rdi), %ymm0, %ymm0 # sched: [9:1.00]
 ; GENERIC-NEXT:    retq # sched: [1:1.00]
----------------
This is the only test change - Sandy Bridge doesn't have AVX2, but it does actually override the xmm variant but to the same values as WriteMPSAD used here - there is a lot of duplication like this....


Repository:
  rL LLVM

https://reviews.llvm.org/D44612





More information about the llvm-commits mailing list