[PATCH] D99045: [x86] Improve selection of the mov instruction in FrameLowering

Simonas Kazlauskas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 16:03:55 PDT 2021


nagisa created this revision.
Herald added subscribers: pengfei, mstorsjo, hiraditya.
nagisa published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

MOV64ri results in a significantly longer encoding, and use of this operator is fairly avoidable as
we can always check the size of the immediate we're using.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99045

Files:
  llvm/lib/Target/X86/X86FrameLowering.cpp
  llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll
  llvm/test/CodeGen/X86/segmented-stacks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99045.332182.patch
Type: text/x-patch
Size: 104065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210401/330f71f4/attachment-0001.bin>


More information about the llvm-commits mailing list