[llvm] Revert "Reland "[CodeGen] Use byte offsets and ptradd in ShadowStackGCLowering" (#197436)" (PR #222223)

Jameson Nash via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 20:51:17 PDT 2026


https://github.com/vtjnash requested changes to this pull request.

While the code (and verifier) used to generally permit this view at O0 (and you told me used to segfault on your interpretation at O1), the LangRef requires an update to argue what behavior you are intending the intrinsic to have. At present, reverting this causes the pass to rely on non-semantic information (alloca getElementType) which is not specified as part in the LLVM IR semantics nor in the LangRef (which states this must be a pointer). There are multiple alternative possible improvements to the LangRef, and I am in favor of them, but it does need to be updated.

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


More information about the llvm-commits mailing list