Skip to content

Enzyme producing binary with incorrect behavior #38

@rbrot249

Description

@rbrot249

running enzyme to compile an example such as the one here will produce a binary that produces incorrect output.

Compiled the cpp using:
/llvm-project/build/bin/clang++
-fplugin=/Reactant/enzyme/buildDir/Enzyme/ClangEnzyme-22.so
-mllvm -raising-plugin-path=/Enzyme-JaX/bazel-bin/libRaise.so
-fno-exceptions
-O1
"$@"

Any suggestions on why that may be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions