Skip to content

[X86][AVX512] Convert _mm_reduce_* intrinsics to emit llvm.reduction intrinsics in IR #46850

Closed
@RKSimon

Description

@RKSimon
Bugzilla Link 47506
Resolution FIXED
Resolved on Feb 16, 2021 08:16
Version unspecified
OS Windows NT
Depends On #46849
CC @topperc,@phoebewang,@zygoloid
Fixed by commit(s) 6c23cbc,4855a1004d4d,61da20575d6c

Extended Description

The mm_reduce/mm_mask_reduce style AVX512 intrinsics currently expand to a reduction code sequence in the header.

Now that we are close to handling llvm.reduction intrinsics in IR, we should be able to emit these IR intrinsics directly instead of relying on a later pass to recognise the pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:headersHeaders provided by Clang, e.g. for intrinsics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions