Use "test regalloc" for the register allocator tests.

These tests were only using "test compile" because it doesn't require
any filecheck directives to be present, so just stop requiring filecheck
directives for "test regalloc" and other filecheck-based test drivers.
This commit is contained in:
Jakob Stoklund Olesen
2017-10-25 18:31:14 -07:00
parent d37126565e
commit 91b1566aca
8 changed files with 9 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
test compile
test regalloc
set is_64bit
isa intel haswell

View File

@@ -1,4 +1,4 @@
test compile
test regalloc
isa intel
; This test covers the troubles when values with global live ranges are defined

View File

@@ -1,4 +1,4 @@
test compile
test regalloc
set is_64bit=1
isa intel haswell

View File

@@ -1,4 +1,4 @@
test compile
test regalloc
set is_64bit
isa intel haswell

View File

@@ -1,4 +1,4 @@
test compile
test regalloc
set is_64bit=1
isa intel haswell

View File

@@ -1,4 +1,4 @@
test compile
test regalloc
isa intel haswell
function %pr165() native {

View File

@@ -1,4 +1,6 @@
; Use "test compile" here otherwise the dead blocks won't be eliminated.
test compile
set is_64bit
isa intel haswell

View File

@@ -113,10 +113,5 @@ pub fn build_filechecker(context: &Context) -> Result<Checker> {
format!("filecheck: {}", e)
})?;
}
let checker = builder.finish();
if checker.is_empty() {
Err("no filecheck directives in function".to_string())
} else {
Ok(checker)
}
Ok(builder.finish())
}