Simon Lindholm

Results 104 issues of Simon Lindholm

```c void foo(Thing* thing) { thing->a = 0; thing->b = 0; } ``` or ```c void foo(Thing* thing) { thing->a = 0; thing->b = thing->a; } ``` -> ```c void...

new-pass

Alternatively struct member instead of variable. E.g. ```c void foo(Thing* thing) { thing->a = 0; thing->b = 0; } ``` -> ```c void foo(Thing* thing) { thing->a = 0; thing->b...

new-pass

2 vs 2U vs 2.0f vs 2.0 can give similar but slightly different codegen. Should be done in a random region, ideally

good first issue
new-pass

Using randomization passes made especially for the purpose. E.g. ones that throw away unnecessary `if(1) {}` and expand vars with name `new_var*`.

enhancement

new-pass
simplification

Combining improvements would be a later step.

optimization

The latter does not obey the triangle inequality -- making a function match worse can improve the score by breaking parts that are accidentally the same between source/target and thus...

enhancement