[llvm] [SelectionDAG] Treat CopyFromReg as freezing the value (PR #85932)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 07:17:38 PDT 2024


================
@@ -205,6 +205,7 @@ enum NodeType {
   /// CopyFromReg - This node indicates that the input value is a virtual or
   /// physical register that is defined outside of the scope of this
   /// SelectionDAG.  The register is available from the RegisterSDNode object.
+  /// Not that CopyFromReg is considered as also freezing the value.
----------------
bjope wrote:

Yes, thanks! It should say "Note ...".

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


More information about the llvm-commits mailing list