-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change JIT to store 1-bit values as 8-bits in memory
We were creating and storing to 1-bit allocas in the LLVM jit. This could in some situations interact badly with LLVM optimizations causing llvm to create bad code. Avoid this by simply following what clang does and giving bools 8 bits. PiperOrigin-RevId: 713819834
- Loading branch information
1 parent
2cdb89e
commit fe94f8f
Showing
3 changed files
with
114 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters