-
In the following snippet, the compiler should be able to devirtualize the `fi.Foo()` call, but currently this does not happen ([godbolt](https://godbolt.org/z/v5nPrsE5s)):
```go
package main
im…
-
Pipeline: [runtime-coreclr outerloop](https://dev.azure.com/dnceng-public/public/_build?definitionId=108&_a=summary)/[20240715.4](https://dev.azure.com/dnceng-public/public/_build/results?buildId=7416…
-
FWIW since I always [build](https://github.com/Trass3r/llvm-project/actions) with `-Wsuggest-final-types` here's a top 100 list for reference (`fgrep 'devirtualization' log.txt | awk '{print $(NF-2),$…
-
The jit cannot devirtualize interface calls made through arrays, because this aspect of arrays has a special implementation in the runtime. I noticed this a while back but never wrote up anything. I w…
-
## Description
Recently I wrote [an article](https://yoh.dev/weakly-and-strongly-typed-values-in-dotnet) explaining benchmark results which João Antunes had in his own article, and it's seems that …
-
Dart2wasm already takes advantage of devirtualization information from TFA for instance invocations.
TFA recently gained the ability to devirtualize function invocations. We should take advantage o…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR44472](https://bugs.llvm.org/show_bug.cgi?id=44472) |
| Status | NEW |
| Importance | P normal |
|…
-
Code example: https://godbolt.org/z/5h7ox47E3
Explanation.
I wanted to refactor one of our interfaces to add some checks (in debug mode).
For that I did a change that is in principle equivalent t…
-
| | |
| --- | --- |
| Bugzilla Link | [33285](https://llvm.org/bz33285) |
| Version | trunk |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @DougGregor,@mstorsjo,@zygoloid,@rn…
-
# 2022:翻新,脱虚向实 | write(2)
de·vir·tual·ize vt.
[计][编译优化] 去虚拟化:将间接调用(虚拟方法调用)变换为等价的直接调用。
And I’m trying to devirtualize my own life in 2022.
[https://blog.xen0n.name/posts/writing/2022-revamp-and-dev…