summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* AVX-512: Added intrinsics for vcvt, vcvtt, vrndscale, vcmpElena Demikhovsky2014-01-0112-133/+418
| | | | | | | Printing rounding control. Enncoding for EVEX_RC (rounding control). llvm-svn: 198277
* Second attempt at Removing special form of AddRegFrm used by FP ↵Craig Topper2014-01-017-134/+93
| | | | | | instructions. These instructions can be handled by MRMXr instead. llvm-svn: 198276
* Remove extra semicolon.Joey Gouly2014-01-011-1/+1
| | | | llvm-svn: 198275
* Update the copyright credits -- Happy new year 2014!NAKAMURA Takumi2014-01-0118-26/+26
| | | | | FIXME: Dragonegg may be updated at non-trivial changes. llvm-svn: 198274
* Silence g++ 4.9 build issue in unit testsAlp Toker2014-01-011-1/+2
| | | | | | Stopgap measure until we can just use static_assert(). llvm-svn: 198273
* Remove an unused diag left over from r198046Alp Toker2014-01-011-2/+0
| | | | llvm-svn: 198272
* Eliminate UnaryTypeTraitExprAlp Toker2014-01-0126-236/+31
| | | | | | | | | | | | | Remove UnaryTypeTraitExpr and switch all remaining type trait related handling over to TypeTraitExpr. The UTT/BTT/TT enum prefix and evaluation code is retained pending further cleanup. This is part of the ongoing work to unify type traits following the removal of BinaryTypeTraitExpr in r197273. llvm-svn: 198271
* ExpectAndConsume: Diagnose errors automaticallyAlp Toker2014-01-0113-180/+164
| | | | | | | | | | | | | | 1) Teach ExpectAndConsume() to emit expected and expected-after diagnostics using the generic diagnostic descriptions added in r197972, eliminating another set of trivial err_expected_* variations while maintaining existing behaviour. 2) Lift SkipUntil() recovery out of ExpectAndConsume(). The Expect/Consume family of functions are primitive parser operations that now have the well-defined property of operating on single tokens. Factoring out recovery exposes opportunities for more consistent and tailored error recover at the call sites instead of just relying on a bottled SkipUntil formula. llvm-svn: 198270
* Add two fp test cases I missed in my previous commit.Craig Topper2013-12-311-0/+6
| | | | llvm-svn: 198269
* Add more X86 FP stack disassembler test cases.Craig Topper2013-12-312-324/+1031
| | | | llvm-svn: 198268
* Fold vector selects with undef elements in the condition. Fixes PR18319.Nick Lewycky2013-12-313-7/+24
| | | | | | Patch by Ilia Filippov! llvm-svn: 198267
* The return value of createInternalFiles is unused, so remove it.Joey Gouly2013-12-316-9/+6
| | | | llvm-svn: 198266
* Revert r198238 and add FP disassembler tests. It didn't work and I didn't ↵Craig Topper2013-12-317-88/+451
| | | | | | realized we had no FP disassembler test cases. llvm-svn: 198265
* [OpenCL] Produce an error, instead of a warning, for sizeof(void) in OpenCL.Joey Gouly2013-12-313-2/+12
| | | | | | Patch by joey.gouly@arm.com llvm-svn: 198264
* Remove old comment referring to an argument that no longer exists.Craig Topper2013-12-311-2/+0
| | | | llvm-svn: 198263
* Fix misaligned indentation in "if" block in MipsMCCodeEmitter.cppMark Seaborn2013-12-311-92/+92
| | | | llvm-svn: 198262
* tsan: fix Go buildDmitry Vyukov2013-12-311-0/+7
| | | | | | | Currently fails with: gotsan.cc:7686:40: error: the address of 'int __sanitizer_pthread_attr_getstack(void*, void**, size_t*)' will always evaluate as 'true' [-Werror=address] llvm-svn: 198261
* Recover from errors in enum definitionSerge Pavlov2013-12-314-7/+67
| | | | | | | | | | Previously any error in enum definition body stopped parsing it. With this change parser tries to recover from errors. The patch fixes PR10982. Differential Revision: http://llvm-reviews.chandlerc.com/D2018 llvm-svn: 198259
* Add missing MRM_XX forms to the old JIT emitter for consistency.Craig Topper2013-12-311-26/+39
| | | | llvm-svn: 198258
* Remove MRMInitReg form now that it's last use is gone.Craig Topper2013-12-314-36/+0
| | | | llvm-svn: 198257
* Silence g++ 4.9 build issueAlp Toker2013-12-311-2/+2
| | | | | | | lib/ASTMatchers/ASTMatchFinder.cpp:276:28: error: typedef 'traverse_can_only_be_instantiated_with_base_type' locally defined but not used [-Werror=unused-local-typedefs] traverse_can_only_be_instantiated_with_base_type); llvm-svn: 198256
* Silence g++ 4.9 build issueAlp Toker2013-12-312-3/+5
| | | | | | | | | lib/Support/ThreadLocal.cpp:53:15: error: typedef 'SIZE_TOO_BIG' locally defined but not used [-Werror=unused-local-typedefs] typedef int SIZE_TOO_BIG[sizeof(pthread_key_t) <= sizeof(data) ? 1 : -1]; Done the C++11 way, switching on and using LLVM_STATIC_ASSERT() instead of LLVM_ATTRIBUTE_UNUSED. llvm-svn: 198255
* Handle MOV32r0 in expandPostRAPseudo instead of MCInst lowering. No ↵Craig Topper2013-12-313-10/+4
| | | | | | functional change intended. llvm-svn: 198254
* Fix an ODR violation in the sanitizer runtimes.Chandler Carruth2013-12-302-6/+13
| | | | | | | | | | | | | | | A helper function is a C++ function, and so even though one of the two definitions is weak, it still technically triggers the ODR. Perhaps these two definitions are ODR equivalent, but I'm not even confident in that. Instead, just define the function once, declare it as weak, and use a wrapper that is clearly file-local. This avoids two definitions. Also make the function extern "C" so that we can't even mess up the type signature somehow or otherwise fail to match up the weak declaration here with the interceptor defined elsewhere. llvm-svn: 198253
* Switch over more of the parser to err_expectedAlp Toker2013-12-304-29/+21
| | | | | | | Includes a fix for a missing highlight range caused by a ',' typo in the PP diagnostics. llvm-svn: 198252
* Update DataRecursiveASTVisitor so that it visits attributes.DeLesley Hutchins2013-12-303-5/+38
| | | | llvm-svn: 198249
* Fix two typos in comments. No functionality change.Nick Lewycky2013-12-301-2/+2
| | | | llvm-svn: 198243
* Merge case statements to remove redundant code.Craig Topper2013-12-301-18/+12
| | | | llvm-svn: 198241
* Remove special form of AddRegFrm used by FP instructions. These instructions ↵Craig Topper2013-12-306-127/+88
| | | | | | can be handled by MRMXr instead. llvm-svn: 198238
* ARM IAS: account for predicated pre-UAL mnemonicsSaleem Abdulrasool2013-12-303-7/+52
| | | | | | | | Checking the trailing letter of the mnemonic is insufficient. Be more thorough in the scanning of the instruction to ensure that we correctly work with the predicated mnemonics. llvm-svn: 198235
* Refactor and reduce code duplication for non-split dwarf strings.Eric Christopher2013-12-301-18/+9
| | | | llvm-svn: 198233
* Remove linkage macro from the CXLanguageKind enumReid Kleckner2013-12-301-1/+1
| | | | | | Enums don't have linkage, so clang warns when this expands to dllimport. llvm-svn: 198227
* Remove EscapeFilter. It's funcionality can be covered by correctly using ↵Craig Topper2013-12-303-33/+15
| | | | | | ExtendedFilter and ExactFilter. No functional change. llvm-svn: 198226
* Update RecursiveASTVisitor so that it visits attributes. This is currentlyDeLesley Hutchins2013-12-308-3/+191
| | | | | | | | important for thread safety attributes, which contain expressions that were not being visited, and were thus invisible to various tools. There are now Visit*Attr methods that can be overridden for every attribute. llvm-svn: 198224
* Revert r198208 and reapply:Eric Christopher2013-12-307-40/+66
| | | | | | | | | | r198196: Use a pointer to keep track of the skeleton unit for each normal unit and construct it up front. r198199: Reapply r198196 with a fix to zero initialize the skeleton pointer. r198202: Fix aranges and split dwarf by ensuring that the symbol and relocation back to the compile unit from the aranges section is to the skeleton unit and not the one in the dwo. with a fix to use integer 0 for DW_AT_low_pc since the relocation to the text section symbol was causing issues with COFF. Accordingly remove addLocalLabelAddress and machinery since we're not currently using it. llvm-svn: 198222
* Simplify filter accepts function to just return 'condition' instead of ↵Craig Topper2013-12-301-28/+13
| | | | | | branching to return true/false. No functional change. llvm-svn: 198221
* Changed the test to avoid EXPECT_EQ(false, ...), which leads toAlexander Kornienko2013-12-301-7/+9
| | | | | | -Wconversion-null warning in GCC. llvm-svn: 198214
* [libsanitizer] fix lint errorsAlexander Potapenko2013-12-301-4/+4
| | | | llvm-svn: 198209
* Revert r198199 (and r198202). It broke 3 DebugInfo tests for targeting ↵NAKAMURA Takumi2013-12-307-90/+40
| | | | | | | | | | | | | | i686-cygming. r198196: Use a pointer to keep track of the skeleton unit for each normal unit and construct it up front. r198199: Reapply r198196 with a fix to zero initialize the skeleton pointer. r198202: Fix aranges and split dwarf by ensuring that the symbol and relocation back to the compile unit from the aranges section is to the skeleton unit and not the one in the dwo. They could be reproducible with explicit target. llvm/lib/MC/WinCOFFObjectWriter.cpp:224: bool {anonymous}::COFFSymbol::should_keep() const: Assertion `Section->Number != -1 && "Sections with relocations must be real!"' failed. llvm-svn: 198208
* [libsanitizer] Remove the redundant spaces between '#' and 'define'.Alexander Potapenko2013-12-301-107/+107
| | | | | | These definitions weren't included in any #ifdef blocks, and the spaces were placed inconsistently. llvm-svn: 198207
* [CMake] Generate ${BUILD_MODE}/llvm-lit for each ${CMAKE_CONFIGURATION_TYPES}.NAKAMURA Takumi2013-12-302-5/+17
| | | | | | | | | | | | llvm-lit can be invoked; $ Release/bin/llvm-lit instead of; $ bin/llvm-lit --param buid_mode=Release llvm-svn: 198206
* [CMake][VS][XCode] Restruct the output directory layout more comfortable, ↵NAKAMURA Takumi2013-12-304-39/+30
| | | | | | | | | | | | | | | | | | ${BINARY_DIR}/${BUILD_MODE}/(bin|lib) We have been seeing nasty directory layout with CMake multiconfig, such as, bin/Release/clang.exe lib/clang/3.x/... lib/Release/clang/3.x/.. (duplicated) Move the layout similar to autoconf's; Release/bin/clang.exe Release/lib/clang/3.x/... Checked on Visual Studio 10. Could you guys please confirm my change on XCode(and other multiconfig builders)? Note: Don't set variables CMAKE_*_OUTPUT_DIRECTORY any more, or a certain builder, for eaxample, msbuild.exe, would be confused. llvm-svn: 198205
* Make lit.site.cfg Py3-compatible. Copied from r188041.NAKAMURA Takumi2013-12-301-1/+4
| | | | llvm-svn: 198204
* Visual C++ does not support -ffunction-sections -fdata-sections.Yaron Keren2013-12-301-1/+1
| | | | llvm-svn: 198203
* Fix aranges and split dwarf by ensuring that the symbol and relocationEric Christopher2013-12-305-7/+31
| | | | | | | | | | | back to the compile unit from the aranges section is to the skeleton unit and not the one in the dwo. Do this by adding a method to grab a forwarded on local sym and local section by querying the skeleton if one exists and using that. Add a few tests to verify the relocations are back to the correct section. llvm-svn: 198202
* Keep comment with 'Subtarget' ivar.Bill Wendling2013-12-301-1/+1
| | | | llvm-svn: 198201
* Port r198088 (set NO_DEAD_STRIP for clang) from make to cmake.Nico Weber2013-12-303-2/+5
| | | | | | | | Also stop setting passing -dead_strip explicitly for libclang and instead rely on this now happening by default. (And make it happen by default for add_clang_library, which doesn't use the library cmake functions from llvm.) llvm-svn: 198200
* Reapply r198196 with a fix to zero initialize the skeleton pointer.Eric Christopher2013-12-305-33/+59
| | | | llvm-svn: 198199
* Port r198087 and r198089 (strip dead code by default) from make to cmake.Nico Weber2013-12-305-0/+34
| | | | llvm-svn: 198198
* Temporarily revert "Use a pointer to keep track of the skeleton unit forEric Christopher2013-12-305-58/+32
| | | | | | each normal unit" as it seems to be causing problems in the asan tests. llvm-svn: 198197
OpenPOWER on IntegriCloud