diff options
author | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-05-02 08:20:29 -0400 |
---|---|---|
committer | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-05-02 08:23:22 -0400 |
commit | 7133283835fbc260465e899ff86c07202486558a (patch) | |
tree | 54bde4bbeb6f697974de1edec375e8c8090b7e2c /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 1d0ccebcd725309399262af346494242b064e2ed (diff) | |
download | llvm-7133283835fbc260465e899ff86c07202486558a.zip llvm-7133283835fbc260465e899ff86c07202486558a.tar.gz llvm-7133283835fbc260465e899ff86c07202486558a.tar.bz2 |
[clang] Do not attempt to zero-extend _BitInt(1) when not required
`ConvertTypeForMem` doesn't return wider type for _BitInt unless it is
used in a bitfield, so no need to extend when trying to initialize a
global variable.
Fixes https://github.com/llvm/llvm-project/issues/62207
Reviewed By: erichkeane, shafik
Differential Revision: https://reviews.llvm.org/D149436
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions