Skip to content

[X86] Failure to handle bf16 strict_fsqrt #167694

@RKSimon

Description

@RKSimon
define <8 x bfloat> @strict_fsqrt(<8 x bfloat> %a) strictfp {
  %sqrt = call <8 x bfloat> @llvm.experimental.constrained.sqrt.v8bf16(
                              <8 x bfloat> %a,
                              metadata !"round.dynamic",
                              metadata !"fpexcept.strict") #0
  ret <8 x bfloat > %sqrt
}

Noticed while working on tests for #165682 / #167692

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions