[llvm-stress] Simple refactoring and better style. NFC.