[llvm] [BOLT][NFC] Unset UseAssemblerInfoForParsing for emission (PR #94778)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 11:19:37 PDT 2024


MaskRay wrote:

Any idea why there is a quadratic behavior?  Is the LayoutOrder cache not utilized? The following code should only be executed once for each section.

```
        for (MCFragment &F : *FA->getParent())
          F.setLayoutOrder(++LayoutOrder);
```

https://github.com/llvm/llvm-project/pull/94778


More information about the llvm-commits mailing list