Skip to content
  • Stephen Lin's avatar
    Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change. · c1c7a130
    Stephen Lin authored
    This update was done with the following bash script:
    
      find test/Transforms -name "*.ll" | \
      while read NAME; do
        echo "$NAME"
        if ! grep -q "^; *RUN: *llc" $NAME; then
          TEMP=`mktemp -t temp`
          cp $NAME $TEMP
          sed -n "s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p" < $NAME | \
          while read FUNC; do
            sed -i '' "s/;\(.*\)\([A-Za-z0-9_]*\):\( *\)@$FUNC\([( ]*\)\$/;\1\2-LABEL:\3@$FUNC(/g" $TEMP
          done
          mv $TEMP $NAME
        fi
      done
    
    llvm-svn: 186268
    c1c7a130
Loading