[PATCH] D156398: [AMDGPU] Remove post-PromoteAlloca SROA run
Joe Nash via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 10:51:43 PDT 2023
Joe_Nash added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll:182
; STDERR-NEXT: remark: foo.cl:74:0: AGPRs: 10
-; STDERR-NEXT: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 64
+; STDERR-NEXT: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 144
; STDERR-NEXT: remark: foo.cl:74:0: Dynamic Stack: True
----------------
This is a question for my curiosity. Presumably if the 80 bytes/lane for %alloca is now on the stack, shouldn't we expect some other value like VGPRs to go down by 80 bytes (-20 VGPRs)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156398/new/
https://reviews.llvm.org/D156398
More information about the llvm-commits
mailing list