[all-commits] [llvm/llvm-project] 9e978b: Add support for lowering 32-bit/64-bit pointers

Amy Huang via All-commits all-commits at lists.llvm.org
Wed Dec 4 11:40:02 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e978bb01ceae8eaa415d8951cc96803e68b73fb
      https://github.com/llvm/llvm-project/commit/9e978bb01ceae8eaa415d8951cc96803e68b73fb
  Author: Amy Huang <akhuang at google.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

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

  Log Message:
  -----------
  Add support for lowering 32-bit/64-bit pointers

Summary:
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

Reviewers: rnk, craig.topper, RKSimon

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69639




More information about the All-commits mailing list