[PATCH] D24359: Win64: Don't use REX prefix for direct tail calls
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 11:46:25 PDT 2016
hans created this revision.
hans added reviewers: majnemer, rnk.
hans added a subscriber: llvm-commits.
The REX prefix should be used on indirect jmps, but not direct ones.
For direct jumps, the unwinder looks at the offset to determine if
it's inside the current function.
https://reviews.llvm.org/D24359
Files:
lib/Target/X86/X86ExpandPseudo.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrControl.td
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86MCInstLower.cpp
test/CodeGen/X86/seh-catchpad.ll
test/CodeGen/X86/tail-call-win64.ll
test/CodeGen/X86/win64_sibcall.ll
test/DebugInfo/COFF/register-variables.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24359.70733.patch
Type: text/x-patch
Size: 4499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160908/23cc23dd/attachment.bin>
More information about the llvm-commits
mailing list