Script based on sed to manually optimise a common case that LLVM doesn't manage.