[llvm] [AMDGPU] Add alignment attr & propagate alignment through make.buffer.rsrc inst (PR #145278)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 05:19:36 PDT 2025


================
@@ -138,6 +138,18 @@ static bool funcRequiresHostcallPtr(const Function &F) {
          F.hasFnAttribute(Attribute::SanitizeMemTag);
 }
 
+static bool isAlignAndMakeBuffer(const AbstractAttribute *AA,
+                                 const Instruction *I) {
+  if (isa<AAAlign>(AA)) {
----------------
arsenm wrote:

Probably shouldn't need to ever identify AAs like this? 

https://github.com/llvm/llvm-project/pull/145278


More information about the llvm-commits mailing list