Skip to content

GlobalValue treated as complex in Figure 7.15 (Python Version) #160

Open
@waynee95

Description

@waynee95

Related to #146.

In Figure 7.15 the output of explicate_control is outdated:

start:
init.514 = 42
tmp.517 = free_ptr
tmp.518 = (tmp.517 + 16)
tmp.519 = fromspace_end
if tmp.518 < tmp.519:
  goto block.529
else:
  goto block.530

Here, GlobalValue is not treated as atomic.

The example should look like this instead:

start:
init.514 = 42
tmp.517 = (free_ptr + 16)
if tmp.517 < fromspace_end:
  goto block.529
else:
  goto block.530

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions