[Gandiva] How to support overflow check and throw an exception in LLVM?
Open
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 91
Description
I deduce gandiva does not support overflow check from the following pic. Will it support that in the future? Besides, does somebody know how to detect overflow using LLVM api if not using function?

Besides, will decimal arith functions be supported in gandiva?
Contributor guide
Research direction
Start by reviewing Gandiva's current arithmetic support and the LLVM APIs related to overflow detection and exception handling. The issue names no files or tests; scope would need to be clarified for overflow checking, exception behavior, and decimal arithmetic before implementation and validation can be defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100