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

[WIP] Auto truncation mode #1581

Merged
merged 13 commits into from
Jan 12, 2024
Merged

[WIP] Auto truncation mode #1581

merged 13 commits into from
Jan 12, 2024

Conversation

wsmoses
Copy link
Member

@wsmoses wsmoses commented Dec 14, 2023

No description provided.


CallInst *intr;
#if LLVM_VERSION_MAJOR >= 16
Value *nres = intr = B.CreateIntrinsic(retTy, II.getIntrinsicID(), new_ops,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just make CreateIntrinsic(B, retTy, intrId, ops, ...) as a fn in utils.h that contains this?

@ivanradanov ivanradanov force-pushed the truncate branch 2 times, most recently from b12c84c to b8966bc Compare January 12, 2024 01:26
@wsmoses wsmoses disabled auto-merge January 12, 2024 02:04
@wsmoses wsmoses merged commit b797171 into main Jan 12, 2024
43 of 58 checks passed
@wsmoses wsmoses deleted the truncate branch January 12, 2024 02:04
MilesCranmer pushed a commit to MilesCranmer/Enzyme that referenced this pull request Jul 24, 2024
* Fix LLVM feature check

* Update src/compiler/optimize.jl

Co-authored-by: Avik Pal <avik.pal.2017@gmail.com>

* fix?

---------

Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com>
Co-authored-by: Avik Pal <avik.pal.2017@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.

2 participants