blob: e906ab6f887de231f038fa9ba28507277f34b31c [file] [edit]
#!/bin/sh
# This script is used by the mlir-reduce documentation example test.
mlir-opt $1 2>&1 | grep "arith.select" > /dev/null
if [ $? -eq 0 ]; then
exit 1
else
exit 0
fi