diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2014-10-08 23:20:18 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2014-10-09 11:09:17 +0200 |
| commit | 6fa5a2f66fddd473d265e646b41da43d20e87ec2 (patch) | |
| tree | 93bf344c9e2090cbb46a17ee53913f2ae41cd6dd /src/rustllvm/PassWrapper.cpp | |
| parent | 57af34b9ad2a4a5a8932ccb06d022d5f8c5807bc (diff) | |
| download | rust-6fa5a2f66fddd473d265e646b41da43d20e87ec2.tar.gz rust-6fa5a2f66fddd473d265e646b41da43d20e87ec2.zip | |
Properly translate boolean statics to be stored as i8
While booleans are represented as i1 in SSA values, LLVM expects them to be stored/loaded as i8 values. Using i1 as we do now works, but kills some optimizations, so we should switch to i8, just like we do everywhere else. Fixes #16959.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
