[PATCH] D49861: [X86] Improved sched models for X86 XCHG*rr instructions

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 04:23:00 PDT 2018


avt77 added a comment.

In https://reviews.llvm.org/D49861#1184028, @RKSimon wrote:

> Tag XADD instructions with WriteXCHG as well?


Here we have the same situation like in CMPXCHG <https://reviews.llvm.org/D50070#inline-441034>. We can implement it in 2 ways:

- like it's done in https://reviews.llvm.org/D50070
- or with help of WriteSequence like craig.topper suggests here <https://reviews.llvm.org/D50070#inline-441034>.

I think the both implementations are identical but let's select the one.


https://reviews.llvm.org/D49861





More information about the llvm-commits mailing list