aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2025-06-26 08:03:32 -0700
committerGitHub <noreply@github.com>2025-06-26 08:03:32 -0700
commit5bbe1536dfa6f1dce8737e466c209c553d614e50 (patch)
tree4e2e6f7fab4d408292fab00c1c17f971ddba1efc /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent0f87c78f647c3fef5662905018da15a0ca3c03aa (diff)
downloadllvm-5bbe1536dfa6f1dce8737e466c209c553d614e50.zip
llvm-5bbe1536dfa6f1dce8737e466c209c553d614e50.tar.gz
llvm-5bbe1536dfa6f1dce8737e466c209c553d614e50.tar.bz2
Cap IntRange::Width to MaxWidth (#145356)
This commit addresses a fallout introduced by #126846. Previously, TryGetExprRange would return an IntRange that has an active range exceeding the maximum representable range for the expression's underlying type. This led to clang erroneously issuing warnings about implicit conversions losing integer precision. This commit fixes the bug by capping IntRange::Width to MaxWidth. rdar://149444029
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions