gh-98831: register instructions have 0 pushes and pops (#101163)

This commit is contained in:
Irit Katriel 2023-01-19 21:02:56 +00:00 committed by GitHub
parent e9ccfe4a63
commit 8a2d4f4e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -810,6 +810,7 @@ class Analyzer:
directions.extend("DIR_WRITE" for _ in instr.output_effects)
directions.extend("DIR_NONE" for _ in range(3))
dir_op1, dir_op2, dir_op3 = directions[:3]
n_popped = n_pushed = 0
self.out.emit(
f' [{instr.name}] = {{ {n_popped}, {n_pushed}, {dir_op1}, {dir_op2}, {dir_op3}, true, {INSTR_FMT_PREFIX}{instr.instr_fmt} }},'
)