[llvm] [SandboxVec][DAG] Build actual dependencies (PR #111094)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 16:22:55 PDT 2024


================
@@ -159,8 +168,37 @@ class DependencyGraph {
   /// The DAG spans across all instructions in this interval.
   Interval<Instruction> DAGInterval;
 
+  std::unique_ptr<BatchAAResults> BatchAA;
+
+  enum class DependencyType {
+    RAW,   ///> Read After Write
----------------
aeubanks wrote:

read after write is more annoying to process than write before read, can we use `WBR` (or something similar) as opposed to `RAW`?

also maybe we should spell these out instead of using abbreviations? I mostly ask for consistency with other enum classes that are camel case instead of all uppercase (e.g. `None` instead of `NONE`)

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


More information about the llvm-commits mailing list