egraphs-good / eggcc

MIT License
42 stars 8 forks source link

Run mem2reg in the baseline, since brillvm relies on it #594

Closed oflatt closed 4 months ago

ryan-berger commented 4 months ago

(1) clang -O0 + sroa | | adce. Without sroa (or mem2reg, which sroa calls) optimizations are not very effective unless you are specifically optimizing memory operations.

From Manasij's email. Supposedly sroa should call mem2reg, is it not running mem2reg?

oflatt commented 4 months ago

Oh right! I got confused, I've been trying to minimize the flags we send to opt