[PATCH] D116458: [X86] Improve selection of the mov instruction in FrameLowering
Erik Desjardins via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 31 09:12:29 PST 2021
erikdesjardins created this revision.
Herald added subscribers: pengfei, mstorsjo, hiraditya.
erikdesjardins requested review of this revision.
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.
This is an updated version of D99045 <https://reviews.llvm.org/D99045>.
Co-authored-by: Simonas Kazlauskas <git at kazlauskas.me>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116458
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: D116458.396808.patch
Type: text/x-patch
Size: 24207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211231/13c01c8e/attachment.bin>
More information about the llvm-commits
mailing list