summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [mips][FastISel] Implement srem/urem and sdiv/udiv instructions.Vasileios Kalintiris2015-06-013-0/+172
| | | | | | | | | | | | | | | | | | | Summary: Implement the LLVM assembly urem/srem and sdiv/udiv instructions in MIPS FastISel. Based on a patch by Reed Kotler. Test Plan: srem1.ll div1.ll test-suite at O0/O2 for mips32 r1/r2 Reviewers: dsanders, rkotler Subscribers: llvm-commits, rfuhler Differential Revision: http://reviews.llvm.org/D7028 llvm-svn: 238757
* [mips][FastISel] Implement the select statement for MIPS FastISel.Vasileios Kalintiris2015-06-012-0/+138
| | | | | | | | | | | | | | | | | | Summary: Implement the LLVM IR select statement for MIPS FastISelsel. Based on a patch by Reed Kotler. Test Plan: "Make check" test included now. Passes test-suite at O2/O0 mips32 r1/r2. Reviewers: dsanders, rkotler Subscribers: llvm-commits, rfuhler Differential Revision: http://reviews.llvm.org/D6774 llvm-svn: 238756
* [mips][FastISel] Clobber HI0/LO0 registers in MUL instructions.Vasileios Kalintiris2015-06-012-0/+51
| | | | | | | | | | | | | | | | | | | | | Summary: The contents of the HI/LO registers are unpredictable after the execution of the MUL instruction. In addition to implicitly defining these registers in the MUL instruction definition, we have to mark those registers as dead too. Without this the fast register allocator is running out of registers when the MUL instruction is followed by another one that tries to allocate the AC0 register. Based on a patch by Reed Kotler. Reviewers: dsanders, rkotler Subscribers: llvm-commits, rfuhler Differential Revision: http://reviews.llvm.org/D9825 llvm-svn: 238755
* [Hexagon] Test passes for hexagon target now that the backend correctly ↵Colin LeMahieu2015-06-011-1/+0
| | | | | | generates relocations. llvm-svn: 238754
* Drop remaining Dragonegg support in release scriptsHans Wennborg2015-06-012-13/+1
| | | | | | | | | | r236077 and r236081 dropped Dragonegg support from the release scripts but left some pieces. The most notable change is that Dragonegg won't be tagged any more. Patch by David Wiberg <dwiberg@gmail.com>. llvm-svn: 238753
* Refactor many file functions to use FileSpec over strings.Ed Maste2015-06-012-45/+47
| | | | | | This is the FreeBSD change for r238604. llvm-svn: 238752
* Fix relocation selection for foo-. on mips.Rafael Espindola2015-06-012-1/+11
| | | | | | This handles only the 32 bit case. llvm-svn: 238751
* Simplify code, NFC.Rafael Espindola2015-06-011-107/+60
| | | | llvm-svn: 238750
* Add isConstant argument to MDBuilder::createTBAAStructTagNodeArtur Pilipenko2015-06-012-5/+12
| | | | | | | | | | According to the TBAA description struct-path tag node can have an optional IsConstant field. Add corresponding argument to MDBuilder::createTBAAStructTagNode. Reviewed By: hfinkel Differential Revision: http://reviews.llvm.org/D10160 llvm-svn: 238749
* [Hexagon] Adding basic ELF relocation generation and testing advanced ↵Colin LeMahieu2015-06-015-28/+449
| | | | | | relaxation codepath. llvm-svn: 238748
* The fragment implies the section, don't store both.Rafael Espindola2015-06-016-36/+64
| | | | | | This reduces MCSymbol from 64 to 56 bytes on x86_64. llvm-svn: 238747
* First commit test.Asaf Badouh2015-06-011-0/+1
| | | | llvm-svn: 238745
* [CMake] Revert commits r238740/r238741 for embedding Windows version info.Greg Bedwell2015-06-012-171/+0
| | | | | | | The clang Windows bots are showing mysterious failures. Reverting until I can figure out what's going on. llvm-svn: 238744
* AVX-512: Optimized vector shuffle for v16f32 and v16i32 types.Elena Demikhovsky2015-06-013-43/+173
| | | | llvm-svn: 238743
* Removing commited assembly file.Luke Cheeseman2015-06-011-3/+0
| | | | llvm-svn: 238742
* remove the use of the LOCATION CMake variable from r238740.Greg Bedwell2015-06-011-4/+0
| | | | | | | It caused the following failure: "Policy CMP0026 is not set: Disallow use of the LOCATION target property." llvm-svn: 238741
* In MSVC builds embed a VERSIONINFO resource in our exe and DLL files.Greg Bedwell2015-06-012-0/+175
| | | | | | | | | | This embeds Windows version information into our executables and DLLs. The most visible place to view this data is in the details tab of the file properties window in Windows explorer. Differential Revision: http://reviews.llvm.org/D7828 llvm-svn: 238740
* Re-commit of r238201 with fix for building with shared libraries.Luke Cheeseman2015-06-0116-22/+983
| | | | llvm-svn: 238739
* AVX-512: Implemented VRANGEPD and VRANGEPD instructions for SKX.Elena Demikhovsky2015-06-016-6/+409
| | | | | | | | | Implemented DAG lowering for all these forms. Added tests for encoding. By Igor Breger (igor.breger@intel.com) llvm-svn: 238738
* Fix address adjusment in stack frame inline block lookupTamas Berghammer2015-06-011-1/+15
| | | | | | | | | | When the current address is pointing 1 (unit) over the end of a section the we have to do a section lookup after making the adjusment of the current address. Differential revision: http://reviews.llvm.org/D10124 llvm-svn: 238737
* clang-format: [JS] Making arrow function wrapping more consistent.Daniel Jasper2015-06-013-11/+22
| | | | | | | | | | | | | | | | | | | | | | Before: someFunction(() => { doSomething(); // break }) .doSomethingElse( // break ); After: someFunction(() => { doSomething(); // break }) .doSomethingElse( // break ); This is still bad, but at least it is consistent with what we do for other function literals. Added corresponding tests. llvm-svn: 238736
* AVX-512: Implemented vector shuffle lowering for v8i64 and v8f64 types.Elena Demikhovsky2015-06-013-1485/+200
| | | | | | I removed the vector-shuffle-512-v8.ll, it is auto-generated test, not valid any more. llvm-svn: 238735
* COFF: Fix warnings found by gccDenis Protivensky2015-06-011-3/+3
| | | | llvm-svn: 238734
* COFF: Better noexcept specification with LLVM_NOEXCEPTDenis Protivensky2015-06-011-1/+1
| | | | | | This is a follow-on to r238732 llvm-svn: 238733
* COFF: Add noexcept to std::error_category::nameDenis Protivensky2015-06-011-1/+1
| | | | | | This fixes build error with gcc. llvm-svn: 238732
* [MS ABI] Be a little more defensive wrt vector typesDavid Majnemer2015-06-011-14/+20
| | | | | | | | | We probably shouldn't say that all appropriately sized vector types are intel vector types (i.e. __m128, etc.) as they don't exist for all architectures. While this is largely academic, it'd save some debugging if we supported such a platform. llvm-svn: 238731
* [WinCOFF] Ignore .safeseh for non-x86 architecturesDavid Majnemer2015-06-011-0/+6
| | | | | | | We don't want to bother with creating .sxdata sections on Win64; all the relevant information is already in the .pdata section. llvm-svn: 238730
* AVX-512: added all forms of VPSHUFD and VPSHUFHW, VPSHUFLWElena Demikhovsky2015-06-015-36/+361
| | | | | | including encodings. llvm-svn: 238729
* AVX-512: Implemented VFIXUPIMMPD and VFIXUPIMMPS instructions for KNL and SKXElena Demikhovsky2015-06-016-0/+449
| | | | | | | | | Implemented DAG lowering for all these forms. Added tests for encoding. by Igor Breger (igor.breger@intel.com) llvm-svn: 238728
* [TableGen] Move a couple virtual methods out of line so vtable anchors can ↵Craig Topper2015-06-012-7/+9
| | | | | | be removed. NFC llvm-svn: 238727
* [TableGen] Remove unnecessary explicit initialization to null of a ↵Craig Topper2015-06-011-1/+1
| | | | | | unique_ptr. NFC llvm-svn: 238726
* [TableGen] Remove unnecessary forward declarations. NFCCraig Topper2015-06-011-29/+1
| | | | llvm-svn: 238725
* AVX-512: Fixed a bug in compress and expand intrinsics.Elena Demikhovsky2015-06-012-8/+11
| | | | | | By Igor Breger (igor.breger@intel.com) llvm-svn: 238724
* Add address space argument to isLegalAddressingModeMatt Arsenault2015-06-0122-32/+61
| | | | | | | | | | This is important because of different addressing modes depending on the address space for GPU targets. This only adds the argument, and does not update any of the uses to provide the correct address space. llvm-svn: 238723
* Remove "%zu" format specifier for MSVC.Chaoren Lin2015-06-011-2/+2
| | | | | | | | | | Reviewers: zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10153 llvm-svn: 238722
* Apply name change to testsuite file.Jonathan Peyton2015-06-011-1/+1
| | | | | | | This change has the llvm-lit part of the testsuite have clang link to libomp instead of libiomp5. llvm-svn: 238721
* Apply name change to Makefile build system.Jonathan Peyton2015-06-013-27/+26
| | | | | | | | This change produces a dynamic library named libomp instead of libiomp5. Similar to the CMake change, it produces symlinks of libiomp5 in the exports/ directory for Unix systems and copies for Windows. llvm-svn: 238720
* COFF: Fix the import table Hint/Name field.Rui Ueyama2015-06-012-5/+7
| | | | llvm-svn: 238719
* Fix comments.Rui Ueyama2015-06-013-3/+3
| | | | llvm-svn: 238718
* COFF: Fix /include. Included symbols are GC-roots.Rui Ueyama2015-06-012-5/+69
| | | | llvm-svn: 238717
* [opaque pointer type] Explicitly store the pointee type of the result of a GEPDavid Blaikie2015-06-013-5/+19
| | | | | | | | Alternatively, this type could be derived on-demand whenever getResultElementType is called - if someone thinks that's the better choice (simple time/space tradeoff), I'm happy to give it a go. llvm-svn: 238716
* Apply name change to CMake build system.Jonathan Peyton2015-06-019-119/+103
| | | | | | | | | | | This change has the CMake build system create a dynamic library named libomp instead of libiomp5. Also any reference to libiomp is replaced with libomp. One can still use the LIBOMP_LIB_NAME variable to enforce a different name, and everything will still work as expected. An important note is that libiomp5 and libgomp symlinks are created at install time when on Unix systems. On Windows, copies are created with the legacy names. llvm-svn: 238715
* COFF: Define an error category for the linker.Rui Ueyama2015-06-018-50/+127
| | | | | | | | | | | | | Instead of returning non-categorized errors, return categorized errors. All uses of make_dynamic_error_code are removed. Because we don't have error reporting mechanism, I just chose to print out error messages to stderr, and then return an error object. Not sure if that's the right thing to do, but at least it seems practical. http://reviews.llvm.org/D10129 llvm-svn: 238714
* Apply name change to tools/* files.Jonathan Peyton2015-06-014-12/+12
| | | | | | | These changes are all in comments. Change libiomp references to libomp. llvm-svn: 238713
* Apply name change to src/* files.Jonathan Peyton2015-06-019-16/+16
| | | | | | | | | These changes are mostly in comments, but there are a few that aren't. Change libiomp5 => libomp everywhere. One internal function name is changed in kmp_gsupport.c, and in kmp_i18n.c, the static char[] variable 'name' is changed to "libomp". llvm-svn: 238712
* Apply name change to doxygen files.Jonathan Peyton2015-06-011-4/+4
| | | | | | | This change only affects the doxygen file that contains a reference to libiomp5. change libiomp5 to libomp. llvm-svn: 238711
* Adding libomp.rc.var for name changeJonathan Peyton2015-06-011-0/+70
| | | | | | | Adding a new file libomp.rc.var in anticipation of more name change commits. This file is a copy of libiomp.rc.var. llvm-svn: 238710
* Try to fix the build of IntelJITEventListener.Rafael Espindola2015-06-011-2/+1
| | | | llvm-svn: 238709
* Rename HasData to IsRegistered.Rafael Espindola2015-06-014-19/+7
| | | | | | | | | There is no MCSectionData, so the old name is now meaningless. Also remove some asserts/checks that were there just because the information they used was in MCSectionData. llvm-svn: 238708
* Remove trivial forwarding function.Rafael Espindola2015-06-013-6/+5
| | | | llvm-svn: 238707
OpenPOWER on IntegriCloud