| ... | ... | @@ -5285,30 +5285,12 @@ fn airSplat(f: *Function, inst: Air.Inst.Index) !CValue { |
| 5285 | 5285 | fn airSelect(f: *Function, inst: Air.Inst.Index) !CValue { |
| 5286 | 5286 | if (f.liveness.isUnused(inst)) return CValue.none; |
| 5287 | 5287 | |
| 5288 | | const inst_ty = f.air.typeOfIndex(inst); |
| 5289 | | const ty_pl = f.air.instructions.items(.data)[inst].ty_pl; |
| 5290 | | |
| 5291 | | const writer = f.object.writer(); |
| 5292 | | const local = try f.allocLocal(inst_ty, .Const); |
| 5293 | | try writer.writeAll(" = "); |
| 5294 | | |
| 5295 | | _ = local; |
| 5296 | | _ = ty_pl; |
| 5297 | 5288 | return f.fail("TODO: C backend: implement airSelect", .{}); |
| 5298 | 5289 | } |
| 5299 | 5290 | |
| 5300 | 5291 | fn airShuffle(f: *Function, inst: Air.Inst.Index) !CValue { |
| 5301 | 5292 | if (f.liveness.isUnused(inst)) return CValue.none; |
| 5302 | 5293 | |
| 5303 | | const inst_ty = f.air.typeOfIndex(inst); |
| 5304 | | const ty_op = f.air.instructions.items(.data)[inst].ty_op; |
| 5305 | | const operand = try f.resolveInst(ty_op.operand); |
| 5306 | | const writer = f.object.writer(); |
| 5307 | | const local = try f.allocLocal(inst_ty, .Const); |
| 5308 | | try writer.writeAll(" = "); |
| 5309 | | |
| 5310 | | _ = operand; |
| 5311 | | _ = local; |
| 5312 | 5294 | return f.fail("TODO: C backend: implement airShuffle", .{}); |
| 5313 | 5295 | } |
| 5314 | 5296 | |