llvm-project
5ab32972
- [CIR] Fix cast kind to support bool in builtin_*_overflow (#198958)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
42 days ago
[CIR] Fix cast kind to support bool in builtin_*_overflow (#198958) 'bool' is an acceptable type to the __builtin_*_overflow functions, but we were unconditionally doing an integral cast. This adds some logic to do a bool-to-int cast if necessary.
References
#198958 - [CIR] Fix cast kind to support bool in builtin_*_overflow
Author
erichkeane
Parents
6149387b
Loading