[PATCH] D60993: [X86] Initial cleanups on the FixupLEAs pass. Separate Atom LEA creation from other LEA optimizations.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 12:10:41 PDT 2019


craig.topper marked an inline comment as done.
craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/X86/lsr-static-addr.ll:40
+; ATOM-NEXT:    movsd %xmm1, A(,%rax,8)
+; ATOM-NEXT:    leaq 1(%rax), %rax
+; ATOM-NEXT:    cmpq %rax, %rdi
----------------
Forgot to mention. This change is specifically because the OptIncDec code was creating an INC here and preventing Atom from visiting it due to the continue.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60993





More information about the llvm-commits mailing list