Skip to content

Conversation

@bbernhar
Copy link
Contributor

The ASSERT code-generator incorrectly checks if __builtin_assume exists. Once fixed, clang incorrectly assumes all functions have side effects and emits a warning. To avoid these warnings, __builtin_assume was replaced with __builtin_unreachable, since the generated code was equivelent.

…e builds.

The ASSERT code-generator incorrectly checks if __builtin_assume exists. Once fixed, clang incorrectly assumes all functions have side effects and emits a warning. To avoid these warnings, __builtin_assume was replaced with __builtin_unreachable, since the generated code was equivelent.
@github-actions github-actions bot added the Frontend Changes to common or GPU API agnostic code. label Aug 19, 2022
@bbernhar bbernhar enabled auto-merge (squash) August 19, 2022 21:39
@bbernhar bbernhar merged commit eb7e6b2 into main Aug 19, 2022
@bbernhar bbernhar deleted the rel_asserts branch August 19, 2022 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Frontend Changes to common or GPU API agnostic code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants