[PATCH] D91338: [X86] Zero-extend pointers to i64 for x86_64

Harald van Dijk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 05:15:19 PST 2020


hvdijk created this revision.
hvdijk added a reviewer: craig.topper.
Herald added subscribers: llvm-commits, pengfei, hiraditya.
Herald added a project: LLVM.
hvdijk requested review of this revision.

For LP64 mode, this has no effect as pointers are already 64 bits.
For ILP32 mode (x32), this extension is specified by the ABI.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91338

Files:
  llvm/lib/Target/X86/X86CallingConv.cpp
  llvm/lib/Target/X86/X86CallingConv.td
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/musttail-varargs.ll
  llvm/test/CodeGen/X86/pr38865-2.ll
  llvm/test/CodeGen/X86/pr38865-3.ll
  llvm/test/CodeGen/X86/pr38865.ll
  llvm/test/CodeGen/X86/sibcall.ll
  llvm/test/CodeGen/X86/x32-function_pointer-2.ll
  llvm/test/CodeGen/X86/x86-64-sret-return.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91338.304791.patch
Type: text/x-patch
Size: 12760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201112/afd96666/attachment.bin>


More information about the llvm-commits mailing list