Skip to content
  1. Jul 19, 2013
    • Stephen Lin's avatar
      Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to... · 6f36b450
      Stephen Lin authored
      Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error  messages. No functionality change.
      
      All changes were made by the following bash script:
      
        find test/CodeGen -name "*.ll" | \
        while read NAME; do
          echo "$NAME"
          grep -q "^; *RUN: *llc.*debug" $NAME && continue
          grep -q "^; *RUN:.*llvm-objdump" $NAME && continue
          grep -q "^; *RUN: *opt.*" $NAME && continue
          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_-]*\)\([A-Za-z0-9_-]*\):\( *\)$FUNC[:]* *\$/;\1\2-LABEL:\3$FUNC:/g" $TEMP
          done
          sed -i '' "s/;\(.*\)-LABEL-LABEL:/;\1-LABEL:/" $TEMP
          sed -i '' "s/;\(.*\)-NEXT-LABEL:/;\1-NEXT:/" $TEMP
          sed -i '' "s/;\(.*\)-NOT-LABEL:/;\1-NOT:/" $TEMP
          sed -i '' "s/;\(.*\)-DAG-LABEL:/;\1-DAG:/" $TEMP
          mv $TEMP $NAME
        done
      
      This script catches a superset of the cases caught by the script associated with commit r186280. It initially found some false positives due to unusual constructs in a minority of tests; all such cases were disambiguated first in commit r186621.
      
      llvm-svn: 186624
      6f36b450
    • Rui Ueyama's avatar
      COFFDumper: Dump data directory entries. · a20b9f52
      Rui Ueyama authored
      Summary:
      Dump optional data directory entries in the PE/COFF header, so that
      we can test the output of LLD linker. This patch updates the test binary
      file, but the source of the binary is the same. I just re-linked the file.
      I don't know how the previous file was linked, but the previous file did
      not have any data directory entries for some reason.
      
      Reviewers: rafael
      
      CC: llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1148
      
      llvm-svn: 186623
      a20b9f52
    • Nick Lewycky's avatar
      Clean up some of this code a tiny bit, no functionality change. · 03f3d34f
      Nick Lewycky authored
      llvm-svn: 186622
      03f3d34f
    • Stephen Lin's avatar
      Disambiguate function names in some CodeGen tests. (Some tests were using... · 98cbca2e
      Stephen Lin authored
      Disambiguate function names in some CodeGen tests. (Some tests were using function names that also were names of instructions and/or doing other unusual things that were making the test not amenable to otherwise scriptable pattern matching.) No functionality change.
      
      llvm-svn: 186621
      98cbca2e
    • Tilmann Scheller's avatar
      ARM: Make sure the instruction alias for PLI uses the right subtarget features. · c8a06ff6
      Tilmann Scheller authored
      PLI requires both the Thumb2 and the ARMv7 feature.
      
      Related to <rdar://problem/14403733>.
      
      llvm-svn: 186620
      c8a06ff6
    • Fariborz Jahanian's avatar
      ObjectiveC migrator: Remove semicolon after the typedef · 85e988bb
      Fariborz Jahanian authored
      declaration when converting to NS_ENUM. This required
      some code refactoring.
      
      llvm-svn: 186619
      85e988bb
  2. Jul 18, 2013
Loading