Skip to content

Incorrect generation of movapd for unaligned load #11770

@hfinkel

Description

@hfinkel
Bugzilla Link 11398
Resolution INVALID
Resolved on Nov 18, 2011 16:09
Version trunk
OS Linux
Attachments Example
CC @efriedma-quic

Extended Description

For x86_64, an instruction like:

%0 = load <2 x double>* %whatever, align 8, !tbaa !​0

can get assembled into a movapd instruction (using trunk r144649). This, however, causes a segmentation fault because movapd requires aligned data. I've attached an example file that suffers from this problem (see the very first instruction in the main function).

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:X86bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions