[PATCH] D93875: [AMDGPU][NewPM] Port amdgpu-promote-alloca(-to-vector)

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 28 14:21:22 PST 2020


aeubanks created this revision.
Herald added subscribers: kerbowa, zzheng, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
aeubanks requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

And add to AMDGPU opt pipeline.

Don't pin an opt run to the legacy PM when -enable-new-pm=1 if these
passes (or passes introduced in https://reviews.llvm.org/D93863) are in
the list of passes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93875

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.h
  llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/test/CodeGen/AMDGPU/sroa-before-unroll.ll
  llvm/test/CodeGen/AMDGPU/vector-alloca.ll
  llvm/tools/opt/opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93875.313903.patch
Type: text/x-patch
Size: 15620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201228/f91a736e/attachment.bin>


More information about the llvm-commits mailing list