[PATCH] D45486: [X86][Atom] Convert Atom scheduler model to SchedRW (PR32431)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 10 21:47:03 PDT 2018


craig.topper added inline comments.


================
Comment at: test/CodeGen/X86/sse-schedule.ll:6135
 ; ATOM-NEXT:    nop # sched: [1:0.50]
-; ATOM-NEXT:    nop # sched: [1:0.50]
-; ATOM-NEXT:    nop # sched: [1:0.50]
----------------
Why did the number of nops change?


================
Comment at: test/CodeGen/X86/sse2-schedule.ll:10709
-; ATOM-NEXT:    paddw %xmm0, %xmm1 # sched: [1:0.50]
-; ATOM-NEXT:    movdqa %xmm1, %xmm0 # sched: [1:0.50]
 ; ATOM-NEXT:    retq # sched: [79:39.50]
----------------
Any idea why the paddw wasn't commuted before to make the movdqa unnecessary?


Repository:
  rL LLVM

https://reviews.llvm.org/D45486





More information about the llvm-commits mailing list