Skip to content

[X86] Cmov converter pass sinks volatile loads #42267

Open
@topperc

Description

@topperc
Bugzilla Link 42922
Version trunk
OS Windows NT
CC @topperc,@RKSimon,@rotateright,@TNorthover

Extended Description

When the cmov converter pass expands a volatile load that has been folded with a cmov, it places the load only on the false path of the created control flow. But a volatile load should be executed unconditionally. The original cmov instruction would have always executed the load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions