by TheLoafOfBread · 3y ago · 0 comments
Good luck finding such a bug, because you will be looking on correct code, but computer will be executing invalid output.
Most work in ML for compilers focuses on replacing heuristics and phase ordering precisely because they don't impact correctness. There is some work being done on neural compilation [1], but I'm not sure that's going to be a viable approach anytime soon.
lol let's say they're less likely to impact correctness than an arbitrary new optimization.
At this point this is like (usefully) fuzzing your optimizer, which long term is going to be great for correctness.