Skip to content

[GISEL][AArch64] Unable to legalize G_LOAD <8 x i1> #116006

@madhur13490

Description

@madhur13490

https://godbolt.org/z/YT8Ex8ohd

define i8  @phi(ptr %d, i32 %n) {
  %ld = load <8 x i1>, ptr %d
  %b = bitcast <8 x i1> %ld to i8
  ret i8 %b
}
LLVM ERROR: unable to legalize instruction: %2:_(<8 x s1>) = G_LOAD %0:_(p0) :: (load (<8 x s1>) from %ir.d, align 4)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions