Rename Cretonne to Cranelift!
This commit is contained in:
14
cranelift/filetests/regalloc/output-interference.clif
Normal file
14
cranelift/filetests/regalloc/output-interference.clif
Normal file
@@ -0,0 +1,14 @@
|
||||
test regalloc
|
||||
target x86_64 haswell
|
||||
|
||||
function %test(i64) -> i64 system_v {
|
||||
ebb0(v0: i64):
|
||||
v2 = iconst.i64 12
|
||||
; This division clobbers two of its fixed input registers on x86.
|
||||
; These are FixedTied constraints that the spiller needs to resolve.
|
||||
v5 = udiv v0, v2
|
||||
v6 = iconst.i64 13
|
||||
v9 = udiv v0, v6
|
||||
v10 = iadd v5, v9
|
||||
return v10
|
||||
}
|
||||
Reference in New Issue
Block a user