1 #!/bin/sh
   2 
   3 set +e
   4 
   5 DIRNAME=`dirname $0`
   6 LLI=`"${LLVM_CONFIG:-llvm-config}" --bindir`/lli
   7 
   8 if [ $# -eq 0 ]; then
   9   echo "`basename $0`: no input files"
  10   exit 1
  11 fi
  12 
  13 $DIRNAME/sparse-llvm $@ | $LLI