[PATCH] D109961: [AMDGPU] Avoid processing functions in amdgpu-propagate-attributes pass for shaders

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 20 07:54:00 PDT 2021


piotr added a comment.

I was thinking about this, but not sure what the test would demonstrate, as the patch just limits the number of cases for which this pass works. With this patch, there are no test changes in the existing set of tests, as expected.

This patch causes an early exit for calling conventions where isShader() is true. We run early inlining in these cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109961



More information about the llvm-commits mailing list