Add a null encoding for ireduce.i32.i64.
This conversion doesn't require any code, we're just looking at the bits differently.
This commit is contained in:
@@ -190,6 +190,10 @@ class TailRecipe:
|
||||
return (self.recipes[name], bits)
|
||||
|
||||
|
||||
# A null unary instruction that takes a GPR register. Can be used for identity
|
||||
# copies and no-op conversions.
|
||||
null = EncRecipe('null', Unary, size=0, ins=GPR, outs=0, emit='')
|
||||
|
||||
# XX /r
|
||||
rr = TailRecipe(
|
||||
'rr', Binary, size=1, ins=(GPR, GPR), outs=0,
|
||||
|
||||
Reference in New Issue
Block a user