================
@@ -522,6 +522,43 @@ 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_TLS_BLOCK_ADDR : Pseudo<(outs ADDR64:$grdaddr),
+                                            (ins), []>;
+  def LOAD_GLOBAL_STACKGUARD_ADDR : Pseudo<(outs ADDR64:$grdaddr),
+                                               (ins), []>;
+
+  let mayStore = 1 in {
+    // load the stack guard's address
+    // (via LOAD_[TLS|GLOBAL]_STACKGUARD_ADDR),
----------------
uweigand wrote:

This is outdated.  You should probably review all comments for that.   In any 
case, the comment doesn't really even have to say that, just "Move the stack 
guard to the stack." should be enough at this level.  Also, comments should 
normally be full sentences starting with a capital letter.

https://github.com/llvm/llvm-project/pull/169317
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to