- Aug 16, 2013
-
-
Richard Sandiford authored
It would also make sense to use it for memchr; I'm working on that now. llvm-svn: 188547
-
Richard Sandiford authored
llvm-svn: 188546
-
Timur Iskhodzhanov authored
llvm-svn: 188545
-
Richard Sandiford authored
llvm-svn: 188544
-
Daniel Jasper authored
Goals: Structure code better and make components easier to use for future features (e.g. column layout for long braced initializers). No functional changes intended. llvm-svn: 188543
-
Dmitry Vyukov authored
Say that gorotuine 1 is main goroutine. Remove excessive new line. llvm-svn: 188542
-
Timur Iskhodzhanov authored
llvm-svn: 188541
-
Richard Sandiford authored
Generalize r188163 to cope with return types other than MVT::i32, just as the existing visitMemCmpCall code did. I've split this out into a subroutine so that it can be used for other upcoming patches. I also noticed that I'd used the wrong API to record the out chain. It's a load that uses DAG.getRoot() rather than getRoot(), so the out chain should go on PendingLoads. I don't have a testcase for that because we don't do any interesting scheduling on z yet. llvm-svn: 188540
-
Evgeniy Stepanov authored
This change broke release+asserts build with compiler-rt. llvm-svn: 188539
-
Richard Sandiford authored
r188163 used CLC to implement memcmp. Code that compares the result directly against zero can test the CC value produced by CLC, but code that needs an integer result must use IPM. The sequence I'd used was: ipm <reg> sll <reg>, 2 sra <reg>, 30 but I'd forgotten that this inverts the order, so that CC==1 ("less") becomes an integer greater than zero, and CC==2 ("greater") becomes an integer less than zero. This sequence should only be used if the CLC arguments are reversed to compensate. The problem then is that the branch condition must also be reversed when testing the CLC result directly. Rather than do that, I went for a different sequence that works with the natural CLC order: ipm <reg> srl <reg>, 28 rll <reg>, <reg>, 31 One advantage of this is that it doesn't clobber CC. A disadvantage is that any sign extension to 64 bits must be done separately, rather than being folded into the shifts. llvm-svn: 188538
-
Vladimir Medic authored
llvm-svn: 188537
-
David Majnemer authored
Summary: HandleTopLevelDecl on a templated function leads us to try and mangle it. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1412 llvm-svn: 188536
-
Ted Kremenek authored
llvm-svn: 188535
-
Craig Topper authored
llvm-svn: 188534
-
Ariel J. Bernal authored
Allow the migrator to be used without specifing --. If neither -- nor -p is provided and no compilation database can be detecteded from the first source file path then -std=c++11 is added as the only compiler argument. llvm-svn: 188533
-
Jason Molenda authored
address. When loading a dSYM, and the file addresses of the dSYM Sections are different than the executable binary Sections' file addresses, the debug info won't be remapped to the actual load addresses correctly. This only happens with binaries on the in-memory shared cache binaries where their File addresses have been set to their actual load address (outside an offset value) whereas the original executable and dSYM have 0-based File addresses. I think this patch will not be activated for other cases -- this is the only case we know of where the dSYM and the executable's File addresses differ -- but if this causes other problems we can restrict it more carefully. <rdar://problem/12335086> llvm-svn: 188532
-
Hans Wennborg authored
We have a lot of fancy logic to find Visual Studio, which is currently used to set the system header include paths. Use the same code to set the ProgramPaths, which is used for finding programs such as link.exe. Previously, Clang would just search PATH for link.exe, but now it should find it if it's able to find Visual Studio. Differential Revision: http://llvm-reviews.chandlerc.com/D1417 llvm-svn: 188531
-
Aaron Ballman authored
Re-disabling C4291 warnings for MSVC because AttributeList.h requires it. This was accidentally removed in r187279. llvm-svn: 188530
-
Matt Arsenault authored
llvm-svn: 188529
-
Aaron Ballman authored
Calling the base class constructor from the derived class' initializer list. This matches DenseMap's behavior, and silences some warnings. llvm-svn: 188528
-
Daniel Dunbar authored
- Benjamin fixed the emission of this file in r179937, but it still lives on a few buildbots. We should probably clean up the build dirs once in a while, eh? llvm-svn: 188527
-
Daniel Dunbar authored
llvm-svn: 188526
-
Aaron Ballman authored
llvm-svn: 188525
-
Aaron Ballman authored
llvm-svn: 188524
-
Tom Stellard authored
This reverts commit a6a39ced095c2f453624ce62c4aead25db41a18f. This is the wrong version of this fix. llvm-svn: 188523
-
Tom Stellard authored
The SIInsertWaits pass was overwriting the first operand (gds bit) of DS_WRITE_B32 with the second operand (value to write). This meant that any time the value to write was stored in an odd number VGPR, the gds bit would be set causing the instruction to write to GDS instead of LDS. llvm-svn: 188522
-
Tom Stellard authored
Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 188521
-
Tom Stellard authored
Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 188520
-
Tom Stellard authored
Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 188519
-
Tom Stellard authored
Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 188518
-
Tom Stellard authored
Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 188517
-
Tom Stellard authored
Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 188516
-
Tom Stellard authored
Tested-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 188515
-
Jordan Rose authored
This once again restores notes to following their associated warnings in -analyzer-output=text mode. (This is still only intended for use as a debugging aid.) One twist is that the warning locations in "regular" analysis output modes (plist, multi-file-plist, html, and plist-html) are reported at a different location on the command line than in the output file, since the command line has no path context. This commit makes -analyzer-output=text behave like a normal output format, which means that the *command line output will be different* in -analyzer-text mode. Again, since -analyzer-text is a debugging aid and lo-fi stand-in for a regular output mode, this change makes sense. Along the way, remove a few pieces of stale code related to the path diagnostic consumers. llvm-svn: 188514
-
Daniel Dunbar authored
- Instead of setting the suffixes in a bunch of places, just set one master list in the top-level config. We now only modify the suffix list in a few suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py). - Aside from removing the need for a bunch of lit.local.cfg files, this enables 4 tests that were inadvertently being skipped (one in Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been XFAILED). - This commit also fixes a bunch of config files to use config.root instead of older copy-pasted code. llvm-svn: 188513
-
Jim Grosbach authored
When both constants are positive or both constants are negative, InstCombine already simplifies comparisons like this, but when it's exactly zero and -1, the operand sorting ends up reversed and the pattern fails to match. Handle that special case. Follow up for rdar://14689217 llvm-svn: 188512
-
Eli Friedman authored
PR16900. llvm-svn: 188511
-
Eli Friedman authored
When we are parsing a type for an alias template, we are not entering the context, so we can't look into dependent classes. Make sure the parser handles this correctly. PR16904. llvm-svn: 188510
-
Hans Wennborg authored
This tweaks the CMake rules for building an installation package on Windows: - Sets license file (otherwise nsis shows an ugly default) - Adds LLVM logo - Shows "do you want to add this to the system path" dialog. Differential Revision: http://llvm-reviews.chandlerc.com/D1414 llvm-svn: 188509
-
Aaron Ballman authored
Tighten up the yamilizer so it stops eliding empty sequences if the embedded empty sequence is the first key/value in a map which is itself in a sequence. Patch with help from Nick Kledzik. llvm-svn: 188508
-