[PATCH] D60772: [AMDGPU] Add optional bounds checking for scratch accesses
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 17 05:28:14 PDT 2019
arsenm added a comment.
If the goal is to have a semantically always dereferencable stack pointer, I think we need to create a new addrspace. It would then be a no-op addrspacecast from an alloca, which the frontend desiring safe stack access would be responsible for inserting. We would then need to track the current global stack size in the ABI somewhere, and selection would need to insert this kind of bounds check code based on that
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60772/new/
https://reviews.llvm.org/D60772
More information about the llvm-commits
mailing list