[PATCH] D69639: Add support for lowering 32-bit/64-bit pointers

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 13:34:48 PDT 2019


akhuang created this revision.
akhuang added reviewers: rnk, craig.topper, RKSimon.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

This follows a previous patch that changes the X86 datalayout to represent
mixed size pointers (32-bit sext, 32-bit zext, and 64-bit) with address spaces
(https://reviews.llvm.org/D64931)

This patch implements the address space cast lowering to the corresponding
sign extension, zero extension, or truncate instructions.

Related to https://bugs.llvm.org/show_bug.cgi?id=42359


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69639

Files:
  llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
  llvm/lib/Target/X86/X86.h
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/mixed-ptr-sizes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69639.227171.patch
Type: text/x-patch
Size: 9826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191030/b0ec6b1c/attachment.bin>


More information about the llvm-commits mailing list