Skip to content

cmd/compile: remove likely/unlikely marks from assembly #19718

@randall77

Description

@randall77

Conditional branches sometimes have a likely/unlikely bit attached to them.

	0x008c 00140 (s.go:7)	JLT	$0, 55

$0 means the branch is unlikely, $1 means the branch is likely.
There's really no reason why the assembly output should show these. It's an artifact of instruction reordering in the obj library that is now gone. We should just stop setting these marks when generating Progs.

See #15837

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions