diff options
author | Nikita Popov <npopov@redhat.com> | 2025-07-23 11:36:48 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2025-07-23 12:19:50 +0200 |
commit | a7edc95c799c46665ecf4465a4dc7ff4bee3ced0 (patch) | |
tree | f861023fd6f9419b9e7af4d887123369c3872436 /llvm/unittests/Testing/ADT/StringMapEntryTest.cpp | |
parent | 5de443a4d37e1b7580f9ccee389572aef7233a85 (diff) | |
download | llvm-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