Skip to content

Vectorized code computes a different result from the unvectorized code (see later comments) #63185

Closed as not planned
@wsmoses

Description

@wsmoses

Edit: the bug is not related to address spaces, see later comments:

The following code examples are equivalent except for one having a non-zero address space for the first arg or not. The non-zero address space version is incorrectly marked as vectorizable whereas the second one is not.

Illegal case: https://godbolt.org/z/Wjodd6n5x
Correct case: https://godbolt.org/z/svPhcT84x

cc @vchuravy @jdoerfert

Metadata

Metadata

Assignees

No one assigned

    Labels

    julialangquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!vectorizers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions