Machine learning-powered autotuning, exemplified by Google's XTAT, can achieve up to a 2.4x execution time speedup over heavily-optimized production ML compilers like XLA by jointly optimizing tensor layouts, operator fusion, and code generation across multiple compilation stages.