[PATCH] D116575: [NFC][llvm][IR] Align the comments.

Shao-Ce SUN via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 3 22:25:54 PST 2022


achieveartificialintelligence created this revision.
achieveartificialintelligence requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116575

Files:
  llvm/include/llvm/CodeGen/SDNodeProperties.td


Index: llvm/include/llvm/CodeGen/SDNodeProperties.td
===================================================================
--- llvm/include/llvm/CodeGen/SDNodeProperties.td
+++ llvm/include/llvm/CodeGen/SDNodeProperties.td
@@ -1,4 +1,4 @@
-//===- SDNodeProperties.td - Common code for DAG isels ---*- tablegen -*-===//
+//===- SDNodeProperties.td - Common code for DAG isels ---*--- tablegen -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -18,16 +18,16 @@
 //
 // Note: These are hard coded into tblgen.
 //
-def SDNPCommutative : SDNodeProperty;   // X op Y == Y op X
-def SDNPAssociative : SDNodeProperty;   // (X op Y) op Z == X op (Y op Z)
-def SDNPHasChain    : SDNodeProperty;   // R/W chain operand and result
-def SDNPOutGlue     : SDNodeProperty;   // Write a flag result
-def SDNPInGlue      : SDNodeProperty;   // Read a flag operand
-def SDNPOptInGlue   : SDNodeProperty;   // Optionally read a flag operand
-def SDNPMayStore    : SDNodeProperty;   // May write to memory, sets 'mayStore'.
-def SDNPMayLoad     : SDNodeProperty;   // May read memory, sets 'mayLoad'.
-def SDNPSideEffect  : SDNodeProperty;   // Sets 'HasUnmodelledSideEffects'.
-def SDNPMemOperand  : SDNodeProperty;   // Touches memory, has assoc MemOperand
-def SDNPVariadic    : SDNodeProperty;   // Node has variable arguments.
-def SDNPWantRoot    : SDNodeProperty;   // ComplexPattern gets the root of match
-def SDNPWantParent  : SDNodeProperty;   // ComplexPattern gets the parent
+def SDNPCommutative : SDNodeProperty;  // X op Y == Y op X
+def SDNPAssociative : SDNodeProperty;  // (X op Y) op Z == X op (Y op Z)
+def SDNPHasChain    : SDNodeProperty;  // R/W chain operand and result
+def SDNPOutGlue     : SDNodeProperty;  // Write a flag result
+def SDNPInGlue      : SDNodeProperty;  // Read a flag operand
+def SDNPOptInGlue   : SDNodeProperty;  // Optionally read a flag operand
+def SDNPMayStore    : SDNodeProperty;  // May write to memory, sets 'mayStore'.
+def SDNPMayLoad     : SDNodeProperty;  // May read memory, sets 'mayLoad'.
+def SDNPSideEffect  : SDNodeProperty;  // Sets 'HasUnmodelledSideEffects'.
+def SDNPMemOperand  : SDNodeProperty;  // Touches memory, has assoc MemOperand
+def SDNPVariadic    : SDNodeProperty;  // Node has variable arguments.
+def SDNPWantRoot    : SDNodeProperty;  // ComplexPattern gets the root of match
+def SDNPWantParent  : SDNodeProperty;  // ComplexPattern gets the parent


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116575.397199.patch
Type: text/x-patch
Size: 2524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220104/93cfdc23/attachment.bin>


More information about the llvm-commits mailing list