| 1 | // Copyright (c) 2026 Alexander Medvednikov. All rights reserved. |
| 2 | // Use of this source code is governed by an MIT license |
| 3 | // that can be found in the LICENSE file. |
| 4 | |
| 5 | module insel |
| 6 | |
| 7 | import v2.mir |
| 8 | import v2.pref |
| 9 | |
| 10 | // select performs target-specific instruction selection on MIR. |
| 11 | // The current native backends consume MIR opcodes directly, so there is no |
| 12 | // target-specific rewrite to apply yet. Keep the API as the insertion point for |
| 13 | // a future real instruction selector. |
| 14 | pub fn select(mut m mir.Module, arch pref.Arch) { |
| 15 | _ = m |
| 16 | _ = arch |
| 17 | } |
| 18 | |