aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Analysis/ValueTrackingTest.cpp
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2024-08-09 22:52:08 +0100
committerGitHub <noreply@github.com>2024-08-09 22:52:08 +0100
commite91e0f52895e2b23bd690a86dbaafd979e027d29 (patch)
tree6f5d5429624d832e9312ed275422b31d04fd83d0 /llvm/unittests/Analysis/ValueTrackingTest.cpp
parentf7ad495a59445bc42d1955c26f11c892c540abdc (diff)
downloadllvm-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