aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Testing/ADT/StringMapEntryTest.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-07-23 11:36:48 +0200
committerNikita Popov <npopov@redhat.com>2025-07-23 12:19:50 +0200
commita7edc95c799c46665ecf4465a4dc7ff4bee3ced0 (patch)
treef861023fd6f9419b9e7af4d887123369c3872436 /llvm/unittests/Testing/ADT/StringMapEntryTest.cpp
parent5de443a4d37e1b7580f9ccee389572aef7233a85 (diff)
downloadllvm-a7edc95c799c46665ecf4465a4dc7ff4bee3ced0.zip
llvm-a7edc95c799c46665ecf4465a4dc7ff4bee3ced0.tar.gz
llvm-a7edc95c799c46665ecf4465a4dc7ff4bee3ced0.tar.bz2
[IR] Optimize stripAndAccumulateConstantOffsets() for common case (NFC)
For the common case where we don't have bit width changing address space casts, we can directly call accumulateConstantOffset() on the original Offset. Skip the bit width reconciliation logic in that case.
Diffstat (limited to 'llvm/unittests/Testing/ADT/StringMapEntryTest.cpp')
0 files changed, 0 insertions, 0 deletions