| ... | ... | @@ -1123,15 +1123,14 @@ fn genBody(f: *Function, body: []const Air.Inst.Index) error{ AnalysisFail, OutO |
| 1123 | 1123 | .unreach => try airUnreach(f), |
| 1124 | 1124 | .fence => try airFence(f, inst), |
| 1125 | 1125 | |
| 1126 | | .ptr_add => try airPtrAddSub (f, inst, " + "), |
| 1127 | | .ptr_sub => try airPtrAddSub (f, inst, " - "), |
| 1128 | | |
| 1129 | 1126 | // TODO use a different strategy for add that communicates to the optimizer |
| 1130 | 1127 | // that wrapping is UB. |
| 1131 | 1128 | .add => try airBinOp (f, inst, " + "), |
| 1129 | .ptr_add => try airPtrAddSub (f, inst, " + "), |
| 1132 | 1130 | // TODO use a different strategy for sub that communicates to the optimizer |
| 1133 | 1131 | // that wrapping is UB. |
| 1134 | 1132 | .sub => try airBinOp (f, inst, " - "), |
| 1133 | .ptr_sub => try airPtrAddSub (f, inst, " - "), |
| 1135 | 1134 | // TODO use a different strategy for mul that communicates to the optimizer |
| 1136 | 1135 | // that wrapping is UB. |
| 1137 | 1136 | .mul => try airBinOp (f, inst, " * "), |