Rewrite test in FileCheck instead of grep in X86 codegen