Fix indentation warnings reported by flake8.

This commit is contained in:
Dan Gohman
2019-02-26 15:59:00 -08:00
parent d2082abb73
commit 9f9c306091

View File

@@ -48,8 +48,8 @@ def verify_semantics(inst, src, xforms):
arg = rtl_var.rtl[0].expr.args[i] arg = rtl_var.rtl[0].expr.args[i]
assert isinstance(arg, Var) assert isinstance(arg, Var)
for val in op.kind.possible_values(): for val in op.kind.possible_values():
s[arg] = val s[arg] = val
new_variants.append(rtl_var.copy(s)) new_variants.append(rtl_var.copy(s))
variants = new_variants variants = new_variants
# For any possible version of the src with concrete enumerated immediates # For any possible version of the src with concrete enumerated immediates
@@ -65,7 +65,7 @@ def verify_semantics(inst, src, xforms):
matching_xforms = [] # type: List[XForm] matching_xforms = [] # type: List[XForm]
for x in xforms: for x in xforms:
if src.substitution(x.src, {}) is None: if src.substitution(x.src, {}) is None:
continue continue
# Translate t using x.symtab # Translate t using x.symtab
t = {x.symtab[str(v)]: tv for (v, tv) in t.items()} t = {x.symtab[str(v)]: tv for (v, tv) in t.items()}