- Jul 14, 2013
-
-
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
-
Stephen Lin authored
Modify two Transforms tests to explicitly check for full function names in some cases, rather than just a common prefix. No functionality change. (This is to avoid confusing a scripted mass update of these tests to use CHECK-LABEL) llvm-svn: 186267
-
Stephen Lin authored
llvm-svn: 186264
-
Stephen Lin authored
llvm-svn: 186263
-
- Jul 13, 2013
-
-
Stephen Lin authored
Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier debugging. No functionality change and all tests pass after conversion. This was done with the following sed invocation to catch label lines demarking function boundaries: sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct. llvm-svn: 186258
-
Arnold Schwaighofer authored
If an outside loop user of the reduction value uses the header phi node we cannot just reduce the vectorized phi value in the vector code epilog because we would loose VF-1 reductions. lp: p = phi (0, lv) lv = lv + 1 ... brcond , lp, outside outside: usr = add 0, p (Say the loop iterates two times, the value of p coming out of the loop is one). We cannot just transform this to: vlp: p = phi (<0,0>, lv) lv = lv + <1,1> .. brcond , lp, outside outside: p_reduced = p[0] + [1]; usr = add 0, p_reduced (Because the original loop iterated two times the vectorized loop would iterate one time, but p_reduced ends up being zero instead of one). We would have to execute VF-1 iterations in the scalar remainder loop in such cases. For now, just disable vectorization. PR16522 llvm-svn: 186256
-
Joerg Sonnenberger authored
between ELF (Linux, FreeBSD, NetBSD) and OSX as platform for the assembler dialect. llvm-svn: 186252
-
Benjamin Kramer authored
llvm-svn: 186250
-
Benjamin Kramer authored
And .* did just match about anything anyways. llvm-svn: 186246
-
Rafael Espindola authored
It is failing with YAMLTest.cpp:38: instantiated from here YAMLTraits.h:226: error: 'llvm::yaml::MappingTraits<<unnamed>::BinaryHolder>::mapping' is not a valid template argument for type 'void (*)(llvm::yaml::IO&, <unnamed>::BinaryHolder&)' because function 'static void llvm::yaml::MappingTraits<<unnamed>::BinaryHolder>::mapping(llvm::yaml::IO&, <unnamed>::BinaryHolder&)' has not external linkage llvm-svn: 186245
-
Craig Topper authored
llvm-svn: 186244
-
Craig Topper authored
llvm-svn: 186243
-
Andrew Trick authored
llvm-svn: 186242
-
Andrew Trick authored
In general, one should always complete CFG modifications first, update CFG-based analyses, like Dominatores and LoopInfo, then generate instruction sequences. LoopVectorizer was creating a new loop, calling SCEVExpander to generate checks, then updating LoopInfo. I just changed the order. llvm-svn: 186241
-
Rafael Espindola authored
Looks like on mingw we get bogus last modification times on directories. Should fix the mingw bots. llvm-svn: 186240
-
Rafael Espindola authored
llvm-svn: 186239
-
Rafael Espindola authored
original message: Fix a off by one error about which members need to use the string table. llvm-svn: 186238
-
Nick Lewycky authored
llvm-svn: 186235
-
Chandler Carruth authored
http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/4328 Original commit log: Use the function attributes to pass along the stack protector buffer size. llvm-svn: 186234
-
Chandler Carruth authored
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/6897/steps/check-all/logs/LLVM%3A%3Aarchive-format.test Original commit log: Fix a off by one error about which members need to use the string table. llvm-svn: 186232
-
Akira Hatanaka authored
llvm-svn: 186230
-
Nick Lewycky authored
Fixes PR16605. llvm-svn: 186229
-
Akira Hatanaka authored
llvm-svn: 186227
-
JF Bastien authored
ARM paired GPR COPY was being lowered to two MOVr without CC. This patch puts the CC back. My test is a reduction of the case where I encountered the issue, 64-bit atomics use paired GPRs. The issue only occurs with selectionDAG, FastISel doesn't encounter it so I didn't bother calling it. llvm-svn: 186226
-
Michael Gottesman authored
llvm-svn: 186225
-
Joey Gouly authored
undef vector of the wrong type. LGTM'd by Nick Lewycky on IRC. llvm-svn: 186224
-
Akira Hatanaka authored
llvm-svn: 186222
-
Bill Wendling authored
Now that we have robust function attributes, don't use a command line option to specify the stack protecto buffer size. llvm-svn: 186217
-
Rafael Espindola authored
llvm-svn: 186216
-
Andrew Trick authored
This is a reimplemntation of the patch originally in r186107. llvm-svn: 186215
-
Andrew Trick authored
llvm-svn: 186214
-
Andrew Trick authored
llvm-svn: 186213
-
Eric Christopher authored
llvm-svn: 186212
-
- Jul 12, 2013
-
-
Benjamin Kramer authored
llvm-svn: 186209
-
Rafael Espindola authored
llvm-svn: 186206
-
Rafael Espindola authored
llvm-svn: 186202
-
Rafael Espindola authored
llvm-svn: 186200
-
Rafael Espindola authored
llvm-svn: 186198
-
Rafael Espindola authored
This fixes two bugs is lib/Object that the use in llvm-ar found: * In OS X created archives, the name can be padded with nulls. Strip them. * In the constructor, remember the first non special member and use that in begin_children. This makes sure we skip all special members, not just the first one. The change to llvm-ar itself consist of * Using lib/Object for reading archives instead of ArchiveReader.cpp. * Writing the modified archive directly, instead of creating an in memory representation. The old Archive library was way more general than what is needed, as can be seen by the diffstat of this patch. Having llvm-ar using lib/Object now opens the way for creating regular symbol tables for both native objects and bitcode files so that we can use those archives for LTO. llvm-svn: 186197
-
Benjamin Kramer authored
llvm-svn: 186196
-