[clang] [llvm] [AMDGPU] Apply alignment attr for make.buffer.rsrc (PR #166914)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 30 19:05:55 PST 2025


================
@@ -5531,7 +5538,7 @@ struct AAAlignCallSiteReturned final
         const auto *AlignAA =
             A.getAAFor<AAAlign>(*this, IRPosition::value(*(II->getOperand(0))),
                                 DepClassTy::REQUIRED);
-        if (AlignAA && AlignAA->isValidState()) {
+        if (AlignAA) {
----------------
shiltian wrote:

not sure about this change

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


More information about the llvm-commits mailing list