[all-commits] [llvm/llvm-project] 9ccf13: [NewPM][NVPTX] Port NVPTX opt passes

aeubanks via All-commits all-commits at lists.llvm.org
Thu Jan 7 15:18:53 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ccf13c36d1c450bc9a74bd04c9730df56f8bd73
      https://github.com/llvm/llvm-project/commit/9ccf13c36d1c450bc9a74bd04c9730df56f8bd73
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTX.h
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.h
    M llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
    M llvm/lib/Target/NVPTX/NVVMReflect.cpp
    M llvm/test/CodeGen/NVPTX/intrinsic-old.ll
    M llvm/test/CodeGen/NVPTX/nvvm-reflect-module-flag.ll
    M llvm/test/CodeGen/NVPTX/nvvm-reflect.ll
    M llvm/tools/opt/opt.cpp

  Log Message:
  -----------
  [NewPM][NVPTX] Port NVPTX opt passes

There are only two used in the IR optimization pipeline.
Port these and add them to the default pipeline.

Similar to https://reviews.llvm.org/D93863.

I added -mtriple to some tests since under the new PM, the passes are
only available when the TargetMachine is specified.

Reviewed By: rnk

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




More information about the All-commits mailing list