summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move the default back to pipefail. I accidentally reverted it before.Rafael Espindola2013-07-261-1/+1
| | | | llvm-svn: 187271
* Document "show args" -> "settings show target.run-args"Jim Ingham2013-07-261-0/+32
| | | | llvm-svn: 187270
* disable pipefail on asan for now.Rafael Espindola2013-07-261-0/+1
| | | | llvm-svn: 187269
* Propagate pipefail when cloning.Rafael Espindola2013-07-261-4/+6
| | | | llvm-svn: 187268
* SLP Vectorier: Don't vectorize really short chains because they are already ↵Nadav Rotem2013-07-262-3/+9
| | | | | | handled by the SelectionDAG store-vectorizer, which does a better job in deciding when to vectorize. llvm-svn: 187267
* PR16708: If a lambda has an implicit return type, don't get confused if its ↵Richard Smith2013-07-262-17/+25
| | | | | | return type has already been determined to be a type containing an 'auto'. llvm-svn: 187266
* SLP Vectorizer: Disable the vectorization of non power of two chains, such ↵Nadav Rotem2013-07-263-49/+39
| | | | | | as <3 x float>, because we dont have a good cost model for these types. llvm-svn: 187265
* Fix the logging messages for SBFrame::FindRegister().Jason Molenda2013-07-261-3/+3
| | | | llvm-svn: 187264
* Add not to commands that fail.Rafael Espindola2013-07-264-4/+4
| | | | | | Polly devs: please check if these commands really should fail. llvm-svn: 187263
* [PATCH] [PECOFF] Fill size field of IMAGE_DATA_DIRECTORYRui Ueyama2013-07-263-5/+13
| | | | | | Patch by Ron Ofir. llvm-svn: 187262
* Use pipefail when available.Rafael Espindola2013-07-266-3/+18
| | | | | | | | | | | | | | This change makes test with RUN lines like RUN: opt ... | FileCheck fail if opt fails, even if it prints what FileCheck wants. Enabling this found some interesting cases of broken tests that were not being noticed because opt (or some other tool) was crashing late. Pipefail is used when the shell supports it or when using the internal python based tester. llvm-svn: 187261
* next batch of -disable-debug-info-verifierRafael Espindola2013-07-265-5/+5
| | | | llvm-svn: 187260
* [PECOFF][Driver] Add ".lib" extension to the path given with /defaultlib.Rui Ueyama2013-07-262-3/+14
| | | | llvm-svn: 187259
* [PECOFF][Driver] Add a library file even if it does not exist.Rui Ueyama2013-07-263-10/+17
| | | | | | | | Missing files will be reported as errors in the later pass, so this patch does not change the behavior of the LLD linker, but it helps writing unit tests for the driver. llvm-svn: 187256
* I had a buffer mismanagement bug in the demangler.Howard Hinnant2013-07-261-1/+5
| | | | llvm-svn: 187255
* Revert "[PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc."Rafael Espindola2013-07-265-9/+8
| | | | | | This reverts commit r187248. It broke many bots. llvm-svn: 187254
* Fix variable name.Owen Anderson2013-07-261-2/+2
| | | | llvm-svn: 187253
* Re-enabling the C4065 warning for MSVC builds as it no longer fires due to ↵Aaron Ballman2013-07-261-1/+0
| | | | | | tablegen. llvm-svn: 187252
* Use the new boolean to StringRef function to generate the proper StringRefs.Bill Wendling2013-07-261-6/+6
| | | | llvm-svn: 187251
* Use a non-c'tor for converting a boolean into a StringRef.Bill Wendling2013-07-261-4/+4
| | | | llvm-svn: 187250
* When InstCombine tries to fold away (fsub x, (fneg y)) into (fadd x, y), it isOwen Anderson2013-07-262-1/+25
| | | | | | | also worthwhile for it to look through FP extensions and truncations, whose application commutes with fneg. llvm-svn: 187249
* [PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc.Bill Schmidt2013-07-265-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Both GCC and LLVM will implicitly define __ppc__ and __powerpc__ for all PowerPC targets, whether 32- or 64-bit. They will both implicitly define __ppc64__ and __powerpc64__ for 64-bit PowerPC targets, and not for 32-bit targets. We cannot be sure that all other possible compilers used to compile Clang/LLVM define both __ppc__ and __powerpc__, for example, so it is best to check for both when relying on either inside the Clang/LLVM code base. This patch makes sure we always check for both variants. In addition, it fixes one unnecessary check in lib/Target/PowerPC/PPCJITInfo.cpp. (At least one of __ppc__ and __powerpc__ should always be defined when compiling for a PowerPC target, no matter which compiler is used, so testing for them is unnecessary.) There are some places in the compiler that check for other variants, like __POWERPC__ and _POWER, and I have left those in place. There is no need to add them elsewhere. This seems to be in Apple-specific code, and I won't take a chance on breaking it. There is no intended change in behavior; thus, no test cases are added. llvm-svn: 187248
* Use more parens to clarify assert.Eric Christopher2013-07-261-1/+1
| | | | llvm-svn: 187247
* Fix up the BUILD_CLANG_ONLY code to work properly after r184794.Bob Wilson2013-07-261-2/+3
| | | | | | | | | | When BUILD_CLANG_ONLY is set to YES, it is supposed to simply limit the tools that get built. The change in r184794 broke this feature by moving libclang and c-index-test into PARALLEL_DIRS. Those are both supposed to be in DIRS, because c-index-test has a build dependency on libclang and cannot be reliably built in parallel with it. llvm-svn: 187246
* Remove addLetterToHash, no functional change.Eric Christopher2013-07-261-10/+1
| | | | llvm-svn: 187245
* [mips] Implement llvm.trap intrinsic.Akira Hatanaka2013-07-263-0/+18
| | | | | | Patch by Sasa Stankovic. llvm-svn: 187244
* [PECOFF][Driver] Fix a bug that -mllvm does not take any arguments.Rui Ueyama2013-07-262-1/+8
| | | | llvm-svn: 187243
* [mips] Fix FP conditional move instructions to have explicit FP condition codeAkira Hatanaka2013-07-266-13/+50
| | | | | | register operands. llvm-svn: 187242
* Add missing 'n'.Rafael Espindola2013-07-261-1/+1
| | | | | | Thanks to Han Finkel for noticing it. llvm-svn: 187241
* Debug Info / EmitCallArgs: arguments may modify the debug location.Adrian Prantl2013-07-263-4/+49
| | | | | | | | | | Restore it after each argument is emitted. This fixes the scope info for inlined subroutines inside of function argument expressions. (E.g., anything STL). rdar://problem/12592135 llvm-svn: 187240
* Options.td: rename CCC{Driver,Debug}Opt to Internal{Driver,Debug}OptHans Wennborg2013-07-261-22/+26
| | | | | | | | Also rename ccc_Group, ccc_driver_Group and ccc_Debug_Group similarly. Differential Revision: http://llvm-reviews.chandlerc.com/D1218 llvm-svn: 187239
* [mips] Fix FP branch instructions to have explicit FP condition code registerAkira Hatanaka2013-07-269-25/+65
| | | | | | operands. llvm-svn: 187238
* Debug Info Verifier: enable verification of DICompileUnit.Manman Ren2013-07-2672-220/+268
| | | | | | | | We used to call Verify before adding DICompileUnit to the list, and now we remove the check and always add DICompileUnit to the list in DebugInfoFinder, so we can verify them later on. llvm-svn: 187237
* Options.td: remove a_Group and L_Group.Hans Wennborg2013-07-261-6/+4
| | | | | | | | They don't seems to serve any purpose. Differential Revision: http://llvm-reviews.chandlerc.com/D1227 llvm-svn: 187236
* Revert "Added new feature for checking macro and preprocessor conditional ↵Rafael Espindola2013-07-266-1236/+13
| | | | | | | | | consistency." This reverts commit r187228. It broke some bots: http://bb.pgr.jp/builders/cmake-clang-i686-mingw32 llvm-svn: 187235
* [mips] Increase the number of floating point condition code registers to eight.Akira Hatanaka2013-07-261-3/+5
| | | | llvm-svn: 187234
* [mips] Fix floating point branch, comparison, and conditional move instructionsAkira Hatanaka2013-07-262-4/+4
| | | | | | | | | to have register FCC0 (the first floating point condition code register) in their Uses/Defs list. No intended functionality change. llvm-svn: 187233
* Add matcher for float literals.Daniel Jasper2013-07-263-4/+26
| | | | | | Patch by Chris Gray! Thanks! llvm-svn: 187232
* [mips] Delete register print method MipsInstPrinter::printCPURegs that is notAkira Hatanaka2013-07-263-11/+5
| | | | | | | | needed. The generic method printOperand will do. No functionality change. llvm-svn: 187231
* [libclang] Remove comma from the blacklist of characters that prevent a ↵Argyrios Kyrtzidis2013-07-262-2/+10
| | | | | | | | | comment to be attached to a decl. It's common to use an availability function macro at the start of a decl. rdar://13965065 llvm-svn: 187230
* [mips] Print instructions "beq", "bne" and "or" using assembler pseudoAkira Hatanaka2013-07-268-32/+92
| | | | | | | | | | instructions "beqz", "bnez" and "move", when possible. beq $2, $zero, $L1 => beqz $2, $L1 bne $2, $zero, $L1 => bnez $2, $L1 or $2, $3, $zero => move $2, $3 llvm-svn: 187229
* Added new feature for checking macro and preprocessor conditional consistency.John Thompson2013-07-266-13/+1236
| | | | llvm-svn: 187228
* Revert "cpp11-migrate: Write header replacements to disk"Rafael Espindola2013-07-2616-466/+60
| | | | | | | | This reverts commit 187204. It broke the freebsd bots: http://lab.llvm.org:8011/builders/clang-X86_64-freebsd/builds/9561 llvm-svn: 187227
* Remove trailing whitespace.Stephen Lin2013-07-261-2/+2
| | | | llvm-svn: 187226
* Correct case of m_UIToFp to m_UIToFP to match instruction name, add m_SIToFP ↵Stephen Lin2013-07-262-5/+12
| | | | | | for consistency. llvm-svn: 187225
* Collapse conditional and add an assert for unhandled scope types.Eric Christopher2013-07-261-3/+1
| | | | llvm-svn: 187224
* Re-add DataLayout pointer size convenience functions.Matt Arsenault2013-07-262-0/+22
| | | | | | | | These were reverted in r167222 along with the rest of the last different address space pointer size attempt. These will be used in later commits. llvm-svn: 187223
* Move this to the X86 directory, unfortunately the hashes are notEric Christopher2013-07-261-0/+0
| | | | | | endian independent. llvm-svn: 187222
* [PECOFF] Don't set IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE if "-fixed" is ↵Rui Ueyama2013-07-262-6/+19
| | | | | | | | provided Based on Ron Ofir's patch. llvm-svn: 187221
* [PECOFF] Replace magic number with llvm::COFF::DataDirectoryIndex valueRui Ueyama2013-07-261-1/+2
| | | | | | Patch by Ron Ofir. llvm-svn: 187220
OpenPOWER on IntegriCloud