Commit 9d5a133f18
Changed files (1)
src
src/Liveness.zig
@@ -489,7 +489,7 @@ pub fn categorizeOperand(
for (args, 0..) |arg, i| {
if (arg == operand_ref) return matchOperandSmallIndex(l, inst, @as(OperandInt, @intCast(i + 1)), .write);
}
- return .none;
+ return .write;
}
var bt = l.iterateBigTomb(inst);
if (bt.feed()) {
@@ -504,7 +504,7 @@ pub fn categorizeOperand(
if (arg == operand_ref) return .write;
}
}
- return .none;
+ return .write;
},
.select => {
const pl_op = air_datas[@intFromEnum(inst)].pl_op;