Merge vcode filetest mode into compile.
I hadn't realized before that the filetest backend for `test vcode` is doing essentially what `compile` is doing, but for new (`MachInst`) backends: it is just getting a disassembly and running it through filecheck. There's no reason not to reuse `test compile` for the AArch64 tests as well. This was motivated by the desire to have "this IR compiles successfully" tests work on both x86 and AArch64. It seems this should work fine by adding multiple `target` directives when a test case should be compile-tested on multiple architectures.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
test vcode
|
||||
test compile
|
||||
target aarch64
|
||||
|
||||
function %f() -> i64 {
|
||||
|
||||
Reference in New Issue
Block a user