diff options
author | Jessica Clarke <jrtc27@jrtc27.com> | 2024-08-09 22:52:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 22:52:08 +0100 |
commit | e91e0f52895e2b23bd690a86dbaafd979e027d29 (patch) | |
tree | 6f5d5429624d832e9312ed275422b31d04fd83d0 /llvm/unittests/Analysis/ValueTrackingTest.cpp | |
parent | f7ad495a59445bc42d1955c26f11c892c540abdc (diff) | |
download | llvm-e91e0f52895e2b23bd690a86dbaafd979e027d29.zip llvm-e91e0f52895e2b23bd690a86dbaafd979e027d29.tar.gz llvm-e91e0f52895e2b23bd690a86dbaafd979e027d29.tar.bz2 |
[CodeGen][NFCI] Don't re-implement parts of ASTContext::getIntWidth (#101765)
ASTContext::getIntWidth returns 1 if isBooleanType(), and falls back on
getTypeSize in the default case, which itself just returns the Width
from getTypeInfo's returned struct, so can be used in all cases here,
not just for _BitInt types.
Diffstat (limited to 'llvm/unittests/Analysis/ValueTrackingTest.cpp')
0 files changed, 0 insertions, 0 deletions