Skip to content
Commit 165240fe authored by Dawid Jurczak's avatar Dawid Jurczak
Browse files

[NFC] Fix compile time regression seen on some benchmarks after a630ea30 commit

The goal of this change is fixing most of compile time slowdown seen after a630ea30 commit on lencod and sqlite3 benchmarks.
There are 3 improvements included in this patch:

1. In getNumOperands when possible get value directly from SmallNumOps.
2. Inline getLargePtr by moving its definition to header.
3. In TBAAStructTypeNode::getField get all operands once instead taking operands in loop one after one.

Differential Revision: https://reviews.llvm.org/D129468
parent 81b62f7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment