[PATCH] D73465: Add gpu::LaunchOp::addKernelArgument.

Stephan Herhut via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 03:09:56 PST 2020


herhut added a comment.

In D73465#1843770 <https://reviews.llvm.org/D73465#1843770>, @mehdi_amini wrote:

> > Code motion into a gpu::LaunchOp region requires operands of moved instructions to be threaded through operands of the gpu.launch to ensure that the gpu.launch remaines closed from above.
>
> Can we revisit lifting this requirement? This was something that was raised from the beginning of the development of this op.


Should we just lift the requirement or completely forego the concept of passing arguments into the launch? Just lifting the requirement would be less of a breaking change but there is no good use of having the operands.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73465/new/

https://reviews.llvm.org/D73465





More information about the llvm-commits mailing list