-
Godbolt link:
https://godbolt.org/z/Kaq3sbsr9
Inline code:
```
long patatino() {
long x = 0;
for (int i = 0; i < 5; ++i) {
while (x < 10) {
if (x % 2 == 0) {
…
-
* test: https://gcc.godbolt.org/z/zM5qfqnda
```
__attribute__((noinline)) void foo()
{
for (unsigned pass = 0; pass < pass_num; pass++) {
#pragma clang loop vectorize(assume_safety)
for(unsi…
vfdff updated
1 month ago
-
### Description
https://godbolt.org/z/ab5WqzE5K
Reduced from a large example.
This loop can be folded into a constant. Commenting this line (which is dead),
```
// Dead nested w…
-
https://godbolt.org/z/oPKMWx871
Inline code:
```
long patatino() {
long x = 0;
for (int i = 0; i < 5; ++i) {
while (x < 10) {
if (x % 2 == 0) {
…
-
| | |
| --- | --- |
| Bugzilla Link | [32523](https://llvm.org/bz32523) |
| Version | unspecified |
| OS | Linux |
| CC | @apolukhin,@efriedma-quic,@rotateright |
## Extended Description
Consider …
-
Some loops aren't broken even after you get the data you would like out of them. Would mildly improve performance.
-
Looks like llvmlite doesn't support enabling `interleave` for Loop optimization for now.
In clang, it can support this style:
```c
#pragma clang loop vectorize(enable)
#pragma clang loop interle…
-
| | |
| --- | --- |
| Bugzilla Link | [39765](https://llvm.org/bz39765) |
| Version | trunk |
| OS | All |
| CC | @dwblaikie,@efriedma-quic,@froydnj |
## Extended Description
=====================…
-
For example:
`for ($i=0; $i
-
Hello
(EDIT -> See smaller test case at the bottom)
This bug exists both in released and unreleased version:
byte is set to mem[idx + offset] at line 4 of the script
in the while loop, the o…