[PATCH] D147872: [X86] Correct the scheduling information for AVX-VNNI and AVX512-VNNI instructons.

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 8 22:16:11 PDT 2023


pengfei added a comment.

> had the write classes

Do you mean `right`?



================
Comment at: llvm/lib/Target/X86/X86InstrAVX512.td:12580
                                    EVEX_4V, EVEX_CD8<32, CD8VF>, T8PD,
-                                   Sched<[sched.Folded, sched.ReadAfterFold]>;
+                                   Sched<[sched.Folded, sched.ReadAfterFold,
+                                          sched.ReadAfterFold]>;
----------------
It's a mystery to me that AVX512 has a lot of 3 ops instructions but not even have one `ReadAfterFold,` in X86InstrAVX512.td
```
grep -rn 'ReadAfterFold,' llvm/lib/Target/X86/X86InstrAVX512.td
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147872



More information about the llvm-commits mailing list