[clang] [llvm] [SystemZ] Global Stackprotector and associated location section (PR #169317)
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 4 08:24:20 PST 2026
================
@@ -521,6 +521,38 @@ let SimpleBDXStore = 1, mayStore = 1 in {
[(store GR128:$src, bdxaddr20only128:$dst)]>;
}
}
+
+let hasNoSchedulingInfo = 1, hasSideEffects = 1, mayLoad = 1 in {
+ // load the stack guard's address
+ def LOAD_TSGA : Pseudo<(outs ADDR64:$grdaddr),
+ (ins), []>;
+ def LOAD_GSGA : Pseudo<(outs ADDR64:$grdaddr),
+ (ins), []>;
+
+ let mayStore = 1 in {
+ // load the stack guard's address
+ // (via LOAD_[TLS|GLOBAL]STACK_GUARD_ADDRESS),
----------------
uweigand wrote:
In any case, the comment definitely needs to use the same name as the actual definition :-)
https://github.com/llvm/llvm-project/pull/169317
More information about the llvm-commits
mailing list