A really neat idea for LLVM: AST interpreters are slow, so clang's constexpr evaluator is slow. Write a small bytecode interpreter to make constexpr execution scale better!
A significant part of development practice is trying to work out "should I manually change this, or should I write a complex editor macro / sed/awk script / program using an AST and refactoring library?".
It's easy to make the wrong decision in both directions IME.