diff --git a/nix/t1/om.nix b/nix/t1/om.nix index 1f943072d8..19cf627936 100644 --- a/nix/t1/om.nix +++ b/nix/t1/om.nix @@ -8,8 +8,10 @@ let omReaderArgs = lib.filter (s: s != "") [ + "run" "--mlirbc-file" - "${mlirbc}/${mlirbc.elaborateTarget}-${mlirbc.elaborateConfig}.mlirbc" + "${mlirbc}/${mlirbc.elaborateTarget}-${mlirbc.elaborateConfig}-lowered.mlirbc" + "--dump-methods" ]; in stdenvNoCC.mkDerivation { @@ -18,7 +20,7 @@ stdenvNoCC.mkDerivation { nativeBuildInputs = [ circt omreader ]; buildCommand = '' - omreader ${lib.escapeShellArgs omReaderArgs} + omreader ${lib.escapeShellArgs omReaderArgs} > $out ''; meta.description = "Call CLI dumps OM properties from MLIR bytecodes";