You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -89,7 +89,8 @@ There are two types of passes: [Transformation Passes](#transformation-passes) t
89
89
|`tr-accept`| TransactionAlwaysAccept.h | Region | Unconditionally accepts the IR state |
90
90
|`tr-revert`| TransactionAlwaysRevert.h | Region | Unconditionally rejects the IR state |
91
91
|`tr-accept-or-revert`| TransactionAcceptOrRevert.h | Region | Checks cost model and either accepts or reverts the IR |
92
-
|`null`| NullPass.h | Region | A test pass that prints the region instructions |
92
+
|`null`| NullPass.h | Region | A dummy test pass that just returns |
93
+
|`print-region`| PrintRegion.h | Region | A test pass that prints the region's IR |
93
94
|`print-instruction-count`| PrintInstructionCount.h | Region | A test pass that counts instructions |
94
95
|`regions-from-metadata`| RegionsFromMetadata.h | Function | Builds regions from IR metadata and runs a pipeline of region passes for each one of them. Used in lit tests for testing region passes in isolation |
95
96
|`regions-from-bbs`| RegionsFromBBs.h | Function | Builds a region for each BB, adding all BB instructions into each region. Used in lit tests for stress-testing region passes in isolation |
@@ -185,7 +186,7 @@ The auxiliary vector is currently used by the Seed Collection pass to communicat
185
186
186
187
One of the great things about the Sandbox Vectorizer is that it allows you to test each internal pass in isolation with lit-tests.
187
188
188
-
Testing Function passes are straightforward, just run `FUNCTION_PASS` in isolation with `-sbvec-passes`, like so:
189
+
Testing Function passes is straightforward, just run `FUNCTION_PASS` in isolation with `-sbvec-passes`, like so:
0 commit comments