Skip to content

[X86] X86FixupVectorConstants generates SSE2 instructions on SSE1 targets #134607

@RKSimon

Description

@RKSimon

As detailed here: #134547

define void @store_v2f32_constant(ptr %v) {
  store <2 x float> <float 2.560000e+02, float 5.120000e+02>, ptr %v, align 4
  ret void
}

X86FixupVectorConstants will attempt to load the v2f32 using a MOVSD load, which is only available on SSE2+ targets

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions