{
  "date": "2026-10-11",
  "status": "passed",
  "pass": "gvn",
  "mlir_comparison_pass": "cse",
  "one_to_one_pass_mapping": false,
  "versions": {
    "opt": "LLVM (http://llvm.org/):\n  LLVM version 24.0.0git\n  Optimized build with assertions.\n  Default target: arm64-apple-darwin27.0.0\n  Host CPU: apple-m1",
    "mlir-opt": "LLVM (http://llvm.org/):\n  LLVM version 24.0.0git\n  Optimized build with assertions.",
    "mlir-translate": "LLVM (http://llvm.org/):\n  LLVM version 24.0.0git\n  Optimized build with assertions.",
    "llvm-as": "LLVM (http://llvm.org/):\n  LLVM version 24.0.0git\n  Optimized build with assertions.",
    "clang": "Apple clang version 21.0.0 (clang-2100.3.34.2)\nTarget: arm64-apple-darwin27.0.0\nThread model: posix\nInstalledDir: system compiler directory"
  },
  "examples": [
    {
      "name": "square_sum",
      "stem": "",
      "expected": 64,
      "kind": "positive",
      "meaning": "Two equal add operations become one; both multiply operands use its result.",
      "runtime": [
        {
          "form": "llvm-before",
          "input": "before.ll",
          "cases": 64,
          "status": "passed"
        },
        {
          "form": "llvm-after",
          "input": "after.ll",
          "cases": 64,
          "status": "passed"
        },
        {
          "form": "mlir-before-lowered",
          "input": "before.lowered.ll",
          "cases": 64,
          "status": "passed"
        },
        {
          "form": "mlir-after-lowered",
          "input": "after.lowered.ll",
          "cases": 64,
          "status": "passed"
        }
      ],
      "structural_counts": {
        "before.ll": {
          "add": 2,
          "load": 0,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "after.ll": {
          "add": 1,
          "load": 0,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "before.mlir": {
          "add": 2,
          "load": 0,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "after.mlir": {
          "add": 1,
          "load": 0,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        }
      },
      "status": "passed"
    },
    {
      "name": "read-twice",
      "stem": "read-twice-",
      "expected": 7,
      "kind": "positive",
      "meaning": "Two ordinary loads with no intervening write become one.",
      "runtime": [
        {
          "form": "llvm-before",
          "input": "read-twice-before.ll",
          "cases": 7,
          "status": "passed"
        },
        {
          "form": "llvm-after",
          "input": "read-twice-after.ll",
          "cases": 7,
          "status": "passed"
        },
        {
          "form": "mlir-before-lowered",
          "input": "read-twice-before.lowered.ll",
          "cases": 7,
          "status": "passed"
        },
        {
          "form": "mlir-after-lowered",
          "input": "read-twice-after.lowered.ll",
          "cases": 7,
          "status": "passed"
        }
      ],
      "structural_counts": {
        "read-twice-before.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "read-twice-after.ll": {
          "add": 1,
          "load": 1,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "read-twice-before.mlir": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "read-twice-after.mlir": {
          "add": 1,
          "load": 1,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        }
      },
      "status": "passed"
    },
    {
      "name": "may-alias",
      "stem": "may-alias-",
      "expected": 32,
      "kind": "counterexample",
      "meaning": "Store through q can change p; both loads remain. Runtime tests include p=q and p!=q.",
      "runtime": [
        {
          "form": "llvm-before",
          "input": "may-alias-before.ll",
          "cases": 32,
          "status": "passed"
        },
        {
          "form": "llvm-after",
          "input": "may-alias-after.ll",
          "cases": 32,
          "status": "passed"
        },
        {
          "form": "mlir-before-lowered",
          "input": "may-alias-before.lowered.ll",
          "cases": 32,
          "status": "passed"
        },
        {
          "form": "mlir-after-lowered",
          "input": "may-alias-after.lowered.ll",
          "cases": 32,
          "status": "passed"
        }
      ],
      "structural_counts": {
        "may-alias-before.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "may-alias-after.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "may-alias-before.mlir": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "may-alias-after.mlir": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        }
      },
      "status": "passed"
    },
    {
      "name": "noalias",
      "stem": "noalias-",
      "expected": 16,
      "kind": "positive",
      "meaning": "LLVM-only explicit non-overlap contract lets GVN reuse load across disjoint store.",
      "mlir": false,
      "runtime": [
        {
          "form": "llvm-before",
          "input": "noalias-before.ll",
          "cases": 16,
          "status": "passed"
        },
        {
          "form": "llvm-after",
          "input": "noalias-after.ll",
          "cases": 16,
          "status": "passed"
        }
      ],
      "structural_counts": {
        "noalias-before.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "noalias-after.ll": {
          "add": 1,
          "load": 1,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        }
      },
      "status": "passed"
    },
    {
      "name": "unknown-call",
      "stem": "unknown-call-",
      "expected": 6,
      "kind": "counterexample",
      "meaning": "Unknown call can change p; both loads and call remain.",
      "runtime": [
        {
          "form": "llvm-before",
          "input": "unknown-call-before.ll",
          "cases": 6,
          "status": "passed"
        },
        {
          "form": "llvm-after",
          "input": "unknown-call-after.ll",
          "cases": 6,
          "status": "passed"
        },
        {
          "form": "mlir-before-lowered",
          "input": "unknown-call-before.lowered.ll",
          "cases": 6,
          "status": "passed"
        },
        {
          "form": "mlir-after-lowered",
          "input": "unknown-call-after.lowered.ll",
          "cases": 6,
          "status": "passed"
        }
      ],
      "structural_counts": {
        "unknown-call-before.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 1
        },
        "unknown-call-after.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 1
        },
        "unknown-call-before.mlir": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 1
        },
        "unknown-call-after.mlir": {
          "add": 1,
          "load": 2,
          "volatile_load": 0,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 1
        }
      },
      "status": "passed"
    },
    {
      "name": "volatile",
      "stem": "volatile-",
      "expected": 7,
      "kind": "counterexample",
      "meaning": "Two volatile reads remain. Runtime tests ordinary stable storage; structural check covers count.",
      "runtime": [
        {
          "form": "llvm-before",
          "input": "volatile-before.ll",
          "cases": 7,
          "status": "passed"
        },
        {
          "form": "llvm-after",
          "input": "volatile-after.ll",
          "cases": 7,
          "status": "passed"
        },
        {
          "form": "mlir-before-lowered",
          "input": "volatile-before.lowered.ll",
          "cases": 7,
          "status": "passed"
        },
        {
          "form": "mlir-after-lowered",
          "input": "volatile-after.lowered.ll",
          "cases": 7,
          "status": "passed"
        }
      ],
      "structural_counts": {
        "volatile-before.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 2,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "volatile-after.ll": {
          "add": 1,
          "load": 2,
          "volatile_load": 2,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "volatile-before.mlir": {
          "add": 1,
          "load": 2,
          "volatile_load": 2,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        },
        "volatile-after.mlir": {
          "add": 1,
          "load": 2,
          "volatile_load": 2,
          "conditional_branch": 0,
          "select": 0,
          "division": 0,
          "call": 0
        }
      },
      "status": "passed"
    }
  ],
  "runtime_cases_per_form_sum": 132,
  "runtime_total_outcomes": 496,
  "runtime_scope": "Finite inputs only; not a proof for all programs, undefined inputs excluded. No performance measurement.",
  "integer_semantics": "LLVM i32 add/mul without nsw/nuw wrap modulo 2^32; C expected values use uint32_t arithmetic.",
  "memref_abi": "GVN MLIR static contiguous memref<1xi32> lowered using explicit use-bare-ptr-memref-call-conv. No general descriptor ABI claim.",
  "sha256": {
    "after.ll": "3158f082dd8a912cb25a1dcb183df0079ab419576a8067fc6285fcb992cf64f1",
    "after.llvm.mlir": "17f7f2d117a134415f60273b66e3f30fe3d7890a8c898e0bdad30aa6208e5894",
    "after.lowered.ll": "c626352a3eaf6c68bc8549abe54b941749d80e6e8da8d66ce8ac70ef54255076",
    "after.mlir": "a1e19f51db18f4c37eb8aed5ea9629f4eeb2806accaa565ff3a0bb48e86a878d",
    "before.ll": "c411b2537a3dbd2d5f2bd1e78016e4d6005fa648670ca726a76bf8dda3ef4019",
    "before.llvm.mlir": "47798decea59b90bc1a329002e9f453913aa324af61c7d133d7d92c1f6a4a382",
    "before.lowered.ll": "298b2eecfd0f1296585165e0996ab188e82c99670d9c2fabbc08fec811605687",
    "before.mlir": "69213f0f73d418ef011c91af89531af96707730e364eabc4b4324aa3a990d567",
    "may-alias-after.ll": "e74043be48c47506b6052d3001259fb35b5b58fcb471483f648a662ccb36f841",
    "may-alias-after.llvm.mlir": "fb803226ce0cedf88b926fe4db200a7c985a75b0df570ce54de56031e0bd2665",
    "may-alias-after.lowered.ll": "67184a1a3f36cd3c158724440a0099f84cdd8fb8d1679a6867c2cc105095e1f5",
    "may-alias-after.mlir": "52d40ad48d660a593c27af1ea775a230fc6bd8a686c7e3e7529940c67635059a",
    "may-alias-before.ll": "8bc6356517b56649ee193469afdcbb49eb0b49b2a4e1dd1e03ad1c3d040f6619",
    "may-alias-before.llvm.mlir": "fb803226ce0cedf88b926fe4db200a7c985a75b0df570ce54de56031e0bd2665",
    "may-alias-before.lowered.ll": "67184a1a3f36cd3c158724440a0099f84cdd8fb8d1679a6867c2cc105095e1f5",
    "may-alias-before.mlir": "6f8957385b85c56b4131713e5eb0d4c998e86ee895182a3bcdebc99d99169e90",
    "noalias-after.ll": "f43c3ae56d14a73e0ab8907376af3c5f6a3b94c9be05782adc21d6ff124671db",
    "noalias-before.ll": "1741ebe565f9d8a3301243d08066e1a14f8f07b89254e24e656bda7be9932fbb",
    "read-twice-after.ll": "9444c675d2be0d6c67f05600f10da74f158fa014dd53935d4566b1c51fe5574e",
    "read-twice-after.llvm.mlir": "a48ee5fd48c89e60ad2115287cf8f5963d9a17a0767bf216777da75b1773a43a",
    "read-twice-after.lowered.ll": "fb4d751d16d9303e824d4e9630c8b6a2bac584873e35d81d1ecf29a6eddcbd6d",
    "read-twice-after.mlir": "2532abdfd3dcd71222415b790ac02313971c788b06b9ee2f08bbba9ed2d95808",
    "read-twice-before.ll": "6f5b6bb2de8d7ccf370f93a72b63904ae3f9010be6158600c5521d2c6e34b107",
    "read-twice-before.llvm.mlir": "cfe3038849cd82d67a5ba37216675a63209cb0eddeea966a0cb2305008d99773",
    "read-twice-before.lowered.ll": "936e4f52629b5afa5937935c0daa5f183b7cab60abdd0eb1aac100f219617709",
    "read-twice-before.mlir": "3cedce2c78ce40f021d59e07ac03531c003b6ea8ba4d65a161957449c37543f4",
    "unknown-call-after.ll": "7f5f4847414b8e528cd221b7b61a1892e223c8d12736904a40bab995b4740860",
    "unknown-call-after.llvm.mlir": "d5128a07df9ee3bb88251062ef280642c49341a5cab6f654b2fbd930f156fbca",
    "unknown-call-after.lowered.ll": "dca1f2e5c33182da630756fd5353f965c1f383c2dd51bf2efd135b8dff705190",
    "unknown-call-after.mlir": "e3ad02022dd62652d4c5195dac82db94578af8ee9393a8a36a63638c0de4ac66",
    "unknown-call-before.ll": "4cfcab953ca4e34b35c79c1866f7ab5891eccd9dc558b72576d8fbed1596d021",
    "unknown-call-before.llvm.mlir": "d5128a07df9ee3bb88251062ef280642c49341a5cab6f654b2fbd930f156fbca",
    "unknown-call-before.lowered.ll": "dca1f2e5c33182da630756fd5353f965c1f383c2dd51bf2efd135b8dff705190",
    "unknown-call-before.mlir": "903fdc5e6e3531ee03d2b821e37056b90c4b7209ffe8c1bec1013ec92dbc9169",
    "volatile-after.ll": "e3505538c72e973ad47434c23ced4956cbc92605990efa8911278a701a51d2fc",
    "volatile-after.llvm.mlir": "2cec06637eb1ac96b5c7b35b06ff679caaec2a0d1523e6158b32dab96156c9ad",
    "volatile-after.lowered.ll": "1e910a3d758d7ede80978bb1a387dc506f11a9a7d3503edae84c3e04c348a1b1",
    "volatile-after.mlir": "2cec06637eb1ac96b5c7b35b06ff679caaec2a0d1523e6158b32dab96156c9ad",
    "volatile-before.ll": "8004545a9b2a776a1d2b15f4fbe8695e19583cff6c428d168392ab7b941c0055",
    "volatile-before.llvm.mlir": "2cec06637eb1ac96b5c7b35b06ff679caaec2a0d1523e6158b32dab96156c9ad",
    "volatile-before.lowered.ll": "1e910a3d758d7ede80978bb1a387dc506f11a9a7d3503edae84c3e04c348a1b1",
    "volatile-before.mlir": "32b91c652ed47094ef110201b7f6ada7b16b187b4d2afa5c0e53b80aea631a42"
  },
  "commands": [
    {
      "argv": [
        "llvm-as",
        "before.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "-S",
        "-passes=gvn",
        "-verify-each",
        "before.ll"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "before.mlir",
        "--cse",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "before.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "before.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "before.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "before.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "after.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "after.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "after.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "after.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "read-twice-before.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "-S",
        "-passes=gvn",
        "-verify-each",
        "read-twice-before.ll"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "read-twice-before.mlir",
        "--cse",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "read-twice-before.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "read-twice-before.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "read-twice-before.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "read-twice-before.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "read-twice-after.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "read-twice-after.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "read-twice-after.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "read-twice-after.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "may-alias-before.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "-S",
        "-passes=gvn",
        "-verify-each",
        "may-alias-before.ll"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "may-alias-before.mlir",
        "--cse",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "may-alias-before.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "may-alias-before.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "may-alias-before.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "may-alias-before.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "may-alias-after.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "may-alias-after.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "may-alias-after.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "may-alias-after.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "noalias-before.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "-S",
        "-passes=gvn",
        "-verify-each",
        "noalias-before.ll"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "unknown-call-before.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "-S",
        "-passes=gvn",
        "-verify-each",
        "unknown-call-before.ll"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "unknown-call-before.mlir",
        "--cse",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "unknown-call-before.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "unknown-call-before.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "unknown-call-before.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "unknown-call-before.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "unknown-call-after.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "unknown-call-after.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "unknown-call-after.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "unknown-call-after.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "volatile-before.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "-S",
        "-passes=gvn",
        "-verify-each",
        "volatile-before.ll"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "volatile-before.mlir",
        "--cse",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "volatile-before.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "volatile-before.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "volatile-before.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "volatile-before.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-opt",
        "volatile-after.mlir",
        "--convert-arith-to-llvm",
        "--convert-index-to-llvm",
        "--convert-cf-to-llvm",
        "--finalize-memref-to-llvm",
        "--convert-func-to-llvm=use-bare-ptr-memref-call-conv",
        "--reconcile-unrealized-casts",
        "--verify-each"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "mlir-translate",
        "volatile-after.llvm.mlir",
        "--mlir-to-llvmir"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "llvm-as",
        "volatile-after.lowered.ll",
        "-o",
        "/dev/null"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "opt",
        "volatile-after.lowered.ll",
        "-passes=verify",
        "-disable-output"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "before.ll",
        "square_sum-harness.c",
        "-o",
        "square_sum-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "square_sum-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "after.ll",
        "square_sum-harness.c",
        "-o",
        "square_sum-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "square_sum-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "before.lowered.ll",
        "square_sum-harness.c",
        "-o",
        "square_sum-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "square_sum-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "after.lowered.ll",
        "square_sum-harness.c",
        "-o",
        "square_sum-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "square_sum-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "read-twice-before.ll",
        "read-twice-harness.c",
        "-o",
        "read-twice-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "read-twice-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "read-twice-after.ll",
        "read-twice-harness.c",
        "-o",
        "read-twice-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "read-twice-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "read-twice-before.lowered.ll",
        "read-twice-harness.c",
        "-o",
        "read-twice-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "read-twice-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "read-twice-after.lowered.ll",
        "read-twice-harness.c",
        "-o",
        "read-twice-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "read-twice-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "may-alias-before.ll",
        "may-alias-harness.c",
        "-o",
        "may-alias-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "may-alias-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "may-alias-after.ll",
        "may-alias-harness.c",
        "-o",
        "may-alias-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "may-alias-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "may-alias-before.lowered.ll",
        "may-alias-harness.c",
        "-o",
        "may-alias-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "may-alias-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "may-alias-after.lowered.ll",
        "may-alias-harness.c",
        "-o",
        "may-alias-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "may-alias-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "noalias-before.ll",
        "noalias-harness.c",
        "-o",
        "noalias-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "noalias-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "noalias-after.ll",
        "noalias-harness.c",
        "-o",
        "noalias-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "noalias-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "unknown-call-before.ll",
        "unknown-call-harness.c",
        "-o",
        "unknown-call-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "unknown-call-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "unknown-call-after.ll",
        "unknown-call-harness.c",
        "-o",
        "unknown-call-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "unknown-call-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "unknown-call-before.lowered.ll",
        "unknown-call-harness.c",
        "-o",
        "unknown-call-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "unknown-call-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "unknown-call-after.lowered.ll",
        "unknown-call-harness.c",
        "-o",
        "unknown-call-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "unknown-call-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "volatile-before.ll",
        "volatile-harness.c",
        "-o",
        "volatile-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "volatile-llvm-before.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "volatile-after.ll",
        "volatile-harness.c",
        "-o",
        "volatile-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "volatile-llvm-after.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "volatile-before.lowered.ll",
        "volatile-harness.c",
        "-o",
        "volatile-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "volatile-mlir-before-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    },
    {
      "argv": [
        "/usr/bin/clang",
        "-O0",
        "-Wno-override-module",
        "volatile-after.lowered.ll",
        "volatile-harness.c",
        "-o",
        "volatile-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": "ld: warning: reexported library with install name '@rpath/libunwind.1.dylib' found at '/usr/local/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly"
    },
    {
      "argv": [
        "volatile-mlir-after-lowered.exe"
      ],
      "exit_code": 0,
      "stderr": ""
    }
  ],
  "publication": {
    "date": "2026-10-11",
    "input_ir": "Hand-authored teaching input, not C compiler output",
    "after_ir": "Actual recorded tool output; published IR bytes match checked research files",
    "examples": {
      "after.ll": "3158f082dd8a912cb25a1dcb183df0079ab419576a8067fc6285fcb992cf64f1",
      "after.llvm.mlir": "17f7f2d117a134415f60273b66e3f30fe3d7890a8c898e0bdad30aa6208e5894",
      "after.lowered.ll": "c626352a3eaf6c68bc8549abe54b941749d80e6e8da8d66ce8ac70ef54255076",
      "after.mlir": "a1e19f51db18f4c37eb8aed5ea9629f4eeb2806accaa565ff3a0bb48e86a878d",
      "before.ll": "c411b2537a3dbd2d5f2bd1e78016e4d6005fa648670ca726a76bf8dda3ef4019",
      "before.llvm.mlir": "47798decea59b90bc1a329002e9f453913aa324af61c7d133d7d92c1f6a4a382",
      "before.lowered.ll": "298b2eecfd0f1296585165e0996ab188e82c99670d9c2fabbc08fec811605687",
      "before.mlir": "69213f0f73d418ef011c91af89531af96707730e364eabc4b4324aa3a990d567",
      "may-alias-after.ll": "e74043be48c47506b6052d3001259fb35b5b58fcb471483f648a662ccb36f841",
      "may-alias-after.llvm.mlir": "fb803226ce0cedf88b926fe4db200a7c985a75b0df570ce54de56031e0bd2665",
      "may-alias-after.lowered.ll": "67184a1a3f36cd3c158724440a0099f84cdd8fb8d1679a6867c2cc105095e1f5",
      "may-alias-after.mlir": "52d40ad48d660a593c27af1ea775a230fc6bd8a686c7e3e7529940c67635059a",
      "may-alias-before.ll": "8bc6356517b56649ee193469afdcbb49eb0b49b2a4e1dd1e03ad1c3d040f6619",
      "may-alias-before.llvm.mlir": "fb803226ce0cedf88b926fe4db200a7c985a75b0df570ce54de56031e0bd2665",
      "may-alias-before.lowered.ll": "67184a1a3f36cd3c158724440a0099f84cdd8fb8d1679a6867c2cc105095e1f5",
      "may-alias-before.mlir": "6f8957385b85c56b4131713e5eb0d4c998e86ee895182a3bcdebc99d99169e90",
      "noalias-after.ll": "f43c3ae56d14a73e0ab8907376af3c5f6a3b94c9be05782adc21d6ff124671db",
      "noalias-before.ll": "1741ebe565f9d8a3301243d08066e1a14f8f07b89254e24e656bda7be9932fbb",
      "read-twice-after.ll": "9444c675d2be0d6c67f05600f10da74f158fa014dd53935d4566b1c51fe5574e",
      "read-twice-after.llvm.mlir": "a48ee5fd48c89e60ad2115287cf8f5963d9a17a0767bf216777da75b1773a43a",
      "read-twice-after.lowered.ll": "fb4d751d16d9303e824d4e9630c8b6a2bac584873e35d81d1ecf29a6eddcbd6d",
      "read-twice-after.mlir": "2532abdfd3dcd71222415b790ac02313971c788b06b9ee2f08bbba9ed2d95808",
      "read-twice-before.ll": "6f5b6bb2de8d7ccf370f93a72b63904ae3f9010be6158600c5521d2c6e34b107",
      "read-twice-before.llvm.mlir": "cfe3038849cd82d67a5ba37216675a63209cb0eddeea966a0cb2305008d99773",
      "read-twice-before.lowered.ll": "936e4f52629b5afa5937935c0daa5f183b7cab60abdd0eb1aac100f219617709",
      "read-twice-before.mlir": "3cedce2c78ce40f021d59e07ac03531c003b6ea8ba4d65a161957449c37543f4",
      "unknown-call-after.ll": "7f5f4847414b8e528cd221b7b61a1892e223c8d12736904a40bab995b4740860",
      "unknown-call-after.llvm.mlir": "d5128a07df9ee3bb88251062ef280642c49341a5cab6f654b2fbd930f156fbca",
      "unknown-call-after.lowered.ll": "dca1f2e5c33182da630756fd5353f965c1f383c2dd51bf2efd135b8dff705190",
      "unknown-call-after.mlir": "e3ad02022dd62652d4c5195dac82db94578af8ee9393a8a36a63638c0de4ac66",
      "unknown-call-before.ll": "4cfcab953ca4e34b35c79c1866f7ab5891eccd9dc558b72576d8fbed1596d021",
      "unknown-call-before.llvm.mlir": "d5128a07df9ee3bb88251062ef280642c49341a5cab6f654b2fbd930f156fbca",
      "unknown-call-before.lowered.ll": "dca1f2e5c33182da630756fd5353f965c1f383c2dd51bf2efd135b8dff705190",
      "unknown-call-before.mlir": "903fdc5e6e3531ee03d2b821e37056b90c4b7209ffe8c1bec1013ec92dbc9169",
      "volatile-after.ll": "e3505538c72e973ad47434c23ced4956cbc92605990efa8911278a701a51d2fc",
      "volatile-after.llvm.mlir": "2cec06637eb1ac96b5c7b35b06ff679caaec2a0d1523e6158b32dab96156c9ad",
      "volatile-after.lowered.ll": "1e910a3d758d7ede80978bb1a387dc506f11a9a7d3503edae84c3e04c348a1b1",
      "volatile-after.mlir": "2cec06637eb1ac96b5c7b35b06ff679caaec2a0d1523e6158b32dab96156c9ad",
      "volatile-before.ll": "8004545a9b2a776a1d2b15f4fbe8695e19583cff6c428d168392ab7b941c0055",
      "volatile-before.llvm.mlir": "2cec06637eb1ac96b5c7b35b06ff679caaec2a0d1523e6158b32dab96156c9ad",
      "volatile-before.lowered.ll": "1e910a3d758d7ede80978bb1a387dc506f11a9a7d3503edae84c3e04c348a1b1",
      "volatile-before.mlir": "32b91c652ed47094ef110201b7f6ada7b16b187b4d2afa5c0e53b80aea631a42"
    },
    "runtime_scope": "중복 덧셈, 연속 읽기, 중간 쓰기, 유효한 noalias, 외부 호출, volatile를 검사했습니다. 총 496개 실행 결과와 메모리 효과를 확인했습니다. 실제 MLIR→LLVM 전후도 포함합니다. noalias 예제는 겹치지 않는 유효한 칸만 사용했습니다.",
    "performance_measured": false
  }
}
