llvm-project
a7edc95c - [IR] Optimize stripAndAccumulateConstantOffsets() for common case (NFC)

Commit
148 days ago
[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.
Author
Committer
Parents
Loading