Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add functional c tests via check-enzyme-c command #15

Merged
merged 16 commits into from
Oct 11, 2019

Conversation

timkaler
Copy link
Contributor

No description provided.

@timkaler timkaler requested a review from wsmoses October 10, 2019 19:40
enzyme/functional_tests_c/Makefile Outdated Show resolved Hide resolved
enzyme/functional_tests_c/insertsort_sum.c Outdated Show resolved Hide resolved
enzyme/functional_tests_c/loop_simplified.ll Outdated Show resolved Hide resolved
enzyme/functional_tests_c/setup.sh Show resolved Hide resolved
enzyme/functional_tests_c/~ Outdated Show resolved Hide resolved
@timkaler
Copy link
Contributor Author

Functional c tests with an expected fail testcase that's added as ifsum.ll to regular check-enzyme tests.

@timkaler timkaler merged commit c858538 into plugin Oct 11, 2019
@timkaler timkaler deleted the functional-tests-c branch October 11, 2019 21:41
ludgerpaehler pushed a commit that referenced this pull request May 16, 2021
* add functional c tests via check-enzyme-c command

* add functional c tests to github workflows

* fix hardcoded path

* test paths again

* another attempt at fix

* another attempt to fix clang path in ci

* install clang

* test loops in build system

* another build test

* change return type of externed builtinautodiff to fix build

* think it works with build system now?

* Add an expected fail test

* make ifcrash.ll be expect fail

* make tests use clang instead of clang++ for c

* only run functional tests on llvm 7
ludgerpaehler pushed a commit that referenced this pull request May 16, 2021
* add functional c tests via check-enzyme-c command

* add functional c tests to github workflows

* fix hardcoded path

* test paths again

* another attempt at fix

* another attempt to fix clang path in ci

* install clang

* test loops in build system

* another build test

* change return type of externed builtinautodiff to fix build

* think it works with build system now?

* Add an expected fail test

* make ifcrash.ll be expect fail

* make tests use clang instead of clang++ for c

* only run functional tests on llvm 7
ludgerpaehler pushed a commit that referenced this pull request May 16, 2021
* add functional c tests via check-enzyme-c command

* add functional c tests to github workflows

* fix hardcoded path

* test paths again

* another attempt at fix

* another attempt to fix clang path in ci

* install clang

* test loops in build system

* another build test

* change return type of externed builtinautodiff to fix build

* think it works with build system now?

* Add an expected fail test

* make ifcrash.ll be expect fail

* make tests use clang instead of clang++ for c

* only run functional tests on llvm 7
wsmoses pushed a commit that referenced this pull request May 17, 2021
* add functional c tests via check-enzyme-c command

* add functional c tests to github workflows

* fix hardcoded path

* test paths again

* another attempt at fix

* another attempt to fix clang path in ci

* install clang

* test loops in build system

* another build test

* change return type of externed builtinautodiff to fix build

* think it works with build system now?

* Add an expected fail test

* make ifcrash.ll be expect fail

* make tests use clang instead of clang++ for c

* only run functional tests on llvm 7
@tgymnich tgymnich mentioned this pull request Sep 16, 2021
@rem1A rem1A mentioned this pull request Sep 6, 2022
wsmoses pushed a commit that referenced this pull request May 16, 2023
wsmoses pushed a commit that referenced this pull request May 18, 2023
wsmoses pushed a commit that referenced this pull request May 21, 2023
wsmoses added a commit that referenced this pull request May 21, 2023
* compiles with llvm-16 (old PM is gone so I could not run opt) (#1)

* port to llvm-16 (not backward-compatible with older llvms), WIP

* wip, but probably not correct on may places

* rule out old PM on llvm 16 and above

* #if LLVM_VERSION_MAJOR >= 16, WIP

* #if LLVM_VERSION_MAJOR >= 16, WIP

* #if LLVM_VERSION_MAJOR >= 16, WIP

* #if LLVM_VERSION_MAJOR >= 16, WIP

* #if LLVM_VERSION_MAJOR >= 16, WIP

* #if LLVM_VERSION_MAJOR >= 16

* Llvm 16 (#2)

* fix for argmemonly

* disabling old pm tests where new pm tests exist (#3)

* Disable old pm tests fix (#4)

* disabling old pm tests where new pm tests exist: fix typo

* fix build with llvm-16 (#5)

* fix build with llvm < 16 (#6)

* Attribute::Memory fixes (#7)

but still getting zeros instead of derivatives

* curly brace out of macro (#8)

* fix typo (#9)

* fix for llvm-16 (#10)

* fix typo

* fix

* Llvm 16 gha (#11)

* enable build with llvm 16

* enable llvm-16 once this gets to main (on both linux and mac os)

* docker run -it --rm --workdir /Enzyme -v /home/stp/go/src/github.com/stepasite/Enzyme/enzyme/Enzyme:/Enzyme clang-format-lint --clang-format-executable /clang-format/clang-format11 -r --exclude ./Enzyme/SCEV --style llvm --inplace true ./Enzyme

* forward mode vector: new pm tests, wip

* llvm-16: fixing tests, wip (#12)

* llvm-16 tests, WIP

* resolving latest test/ll commits (#13)

* Llvm 16 tests (#14)

* llvm-16 tests, WIP

* fix bug introduced in (FunctionUtils.cpp)

* llvm 16 tests, wip

* llvm tests, WIP (#15)

* continued test fixes

* fixup

* fix build

* fix

* cleanup

* fixes

* fix

* fix attr

* fix format

* fixup

* fix attrs

* fix

* fix

* fix

* fix sret

* fix

* add type analysis

* activity analysis

* fix ta

* fix

* fix

* fixes

* more tests

* more fixes

* 297

* more tests

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Pavel Stepanek <stepasite@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants