[all-commits] [llvm/llvm-project] b28113: DAG: Use the correct getPointerTy in a few places

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Apr 7 09:45:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b281138a1b67ca4405b77d774adc3de72742e7a2
      https://github.com/llvm/llvm-project/commit/b281138a1b67ca4405b77d774adc3de72742e7a2
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  DAG: Use the correct getPointerTy in a few places

These should not be assuming address space 0. Calling getPointerTy is
generally the wrong thing to do, since you should already know the
type from the incoming IR.




More information about the All-commits mailing list