summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine
Commit message (Collapse)AuthorAgeFilesLines
...
* Still more MCJIT PIC test XFAILsAndrew Kaylor2013-08-203-3/+3
| | | | llvm-svn: 188815
* Clarifying two MCJIT PIC tests as XFAIL on i686-pc-linuxAndrew Kaylor2013-08-204-4/+4
| | | | llvm-svn: 188814
* Removing duplicate XFAIL markersAndrew Kaylor2013-08-202-2/+2
| | | | llvm-svn: 188812
* Marking two more MCJIT PIC tests as XFAIL on i686Andrew Kaylor2013-08-204-4/+4
| | | | llvm-svn: 188808
* Marking MCJIT PIC tests as XFAIL on armAndrew Kaylor2013-08-206-6/+6
| | | | llvm-svn: 188807
* Marking MCJIT PIC tests as XFAIL on AArch64Andrew Kaylor2013-08-209-9/+9
| | | | llvm-svn: 188740
* Fixing XPASSes among MCJIT PIC test on i686Andrew Kaylor2013-08-204-4/+4
| | | | llvm-svn: 188736
* Second attempt to mark Large/PIC MCJIT test as XFAIL for PowerPC64Andrew Kaylor2013-08-201-1/+1
| | | | llvm-svn: 188735
* Marking two MCJIT PIC tests as XFAIL on DarwinAndrew Kaylor2013-08-202-2/+2
| | | | llvm-svn: 188734
* Trying again with PIC tests for MCJITAndrew Kaylor2013-08-199-0/+252
| | | | llvm-svn: 188730
* Reverting r188709 until I can figure out the proper way to XFAIL it.Andrew Kaylor2013-08-199-252/+0
| | | | llvm-svn: 188715
* Adding tests for PIC with MCJITAndrew Kaylor2013-08-199-0/+252
| | | | llvm-svn: 188709
* [tests] Cleanup initialization of test suffixes.Daniel Dunbar2013-08-164-31/+5
| | | | | | | | | | | | | | | | | - 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
* Optimistically ignore scattered relocations in MachO in RuntimeDyld. ThisLang Hames2013-08-093-0/+2
| | | | | | | | un-breaks simple use cases while I work on more general support. <rdar://problem/14487667> llvm-svn: 188044
* LLVM Interpreter: MIPS tests should passElena Demikhovsky2013-08-071-1/+0
| | | | llvm-svn: 187867
* LLVM Interpreter: fixed bug 16694Elena Demikhovsky2013-08-061-52/+137
| | | | | | | | | | | | | fix for: Bug 16694 - ExecutionEngine/test-interp-vec-loadstore.ll failing on powerpc-darwin8 (http://llvm.org/bugs/show_bug.cgi?id=16694) The ExecutionEngine/test-interp-vec-loadstore.ll test has been failing on powerpc-darwin8 (on other platforms it passed) the reason of fail was wrong output by printf. this output is checked by FileCheck, but on little-endian powerpc the output numeric data were printed inside out and FileCheck reported fail. the printfs have been replaced by checking data inside test and numeric output has been replaced by the text output like : "int test passed, float test passed". The text output is checked by FileCheck. the dependency on data layout has been removed. done by Yuri Veselov (Intel) llvm-svn: 187791
* LLVM Interpreter: This patch implements vector support for cast operations ↵Elena Demikhovsky2013-08-052-0/+178
| | | | | | | | | | (zext, sext, uitofp, sitofp, trunc, fpext, fptosi, fptrunc, bitcast) and shift operations (shl, ashr, lshr) for integer and floating point data types. Added tests. Done by Yuri Veselov (mailto:Yuri.Veselov@intel.com). llvm-svn: 187724
* [mips] Remove XFAIL from test-ptr-reloc-remote.llPetar Jovanovic2013-07-241-1/+0
| | | | | | | The change r187019 has fixed multiple relocations in dynamic linker for MIPS, so now this test passes for MIPS. llvm-svn: 187053
* Add newlines at end of test files, no functionality changeStephen Lin2013-07-131-1/+1
| | | | llvm-svn: 186263
* Enable mcjit tests on ppc64 when building with cmake.Rafael Espindola2013-06-031-1/+3
| | | | llvm-svn: 183143
* Disable new legacy JIT test on ARM.Tim Northover2013-06-011-0/+1
| | | | llvm-svn: 183071
* X86: change MOV64ri64i32 into MOV32ri64Tim Northover2013-06-011-0/+17
| | | | | | | | | | | | | | The MOV64ri64i32 instruction required hacky MCInst lowering because it was allocated as setting a GR64, but the eventual instruction ("movl") only set a GR32. This converts it into a so-called "MOV32ri64" which still accepts a (appropriate) 64-bit immediate but defines a GR32. This is then converted to the full GR64 by a SUBREG_TO_REG operation, thus keeping everyone happy. This fixes a typo in the opcode field of the original patch, which should make the legact JIT work again (& adds test for that problem). llvm-svn: 183068
* ARM: use pristine object file while processing relocationsTim Northover2013-05-283-3/+3
| | | | | | | | | | | | | | Previously we would read-modify-write the target bits when processing relocations for the MCJIT. This had the problem that when relocations were processed multiple times for the same object file (as they can be), the result is not idempotent and the values became corrupted. The solution to this is to take any bits used in the destination from the pristine object file as LLVM emitted it. This should fix PR16013 and remote MCJIT on ARM ELF targets. llvm-svn: 182800
* Disable remote MCJIT on pre-v6 ARMRenato Golin2013-05-201-0/+11
| | | | llvm-svn: 182235
* Invalidate instruction cache when setting memory to be executable.Tim Northover2013-05-195-15/+4
| | | | | | | | | lli's remote MCJIT code calls setExecutable just prior to running code. In line with Darwin behaviour this seems to be the place to invalidate any caches needed so that relocations can take effect properly. llvm-svn: 182213
* Unsupported remote JIT on ARMRenato Golin2013-05-189-6/+17
| | | | llvm-svn: 182201
* XFAIL this test for mingw too.Rafael Espindola2013-05-131-1/+1
| | | | llvm-svn: 181678
* XFAILing this test on Win32 to unbreak the build bots.Aaron Ballman2013-05-101-1/+1
| | | | llvm-svn: 181600
* PowerPC: Fix unimplemented relocation on ppc64Adhemerval Zanella2013-05-061-1/+1
| | | | | | | This patch handles the R_PPC64_REL64 relocation type for powerpc64 for mcjit. llvm-svn: 181220
* [SystemZ] Set up JIT/MCJIT test casesUlrich Weigand2013-05-062-3/+3
| | | | | | | | | | | This patch adds the necessary configuration bits and #ifdef's to set up the JIT/MCJIT test cases for SystemZ. Like other recent targets, we do fully support MCJIT, but do not support the old JIT at all. Set up the lit config files accordingly, and disable old-JIT unit tests. Patch by Richard Sandiford. llvm-svn: 181207
* Free the exception object. Should fix the vg bots.Rafael Espindola2013-05-061-0/+5
| | | | llvm-svn: 181195
* XFAIL for cygwin.Rafael Espindola2013-05-061-1/+1
| | | | | | | Looks like symbol resolution is not working on cygwin, the test fails because __gxx_personality_v0 is not found. llvm-svn: 181179
* This should also fail on ARM.Rafael Espindola2013-05-051-1/+1
| | | | | | We currently have no way to register new eh frames on ARM. llvm-svn: 181172
* Fix XFAIL line.Rafael Espindola2013-05-051-1/+1
| | | | llvm-svn: 181171
* XFAIL this on ppc64.Rafael Espindola2013-05-051-0/+1
| | | | | | It looks like eh uses an unimplemented relocation on pp64 llvm-svn: 181169
* Add EH support to the MCJIT.Rafael Espindola2013-05-051-0/+26
| | | | | | | | | This gets exception handling working on ELF and Macho (x86-64 at least). Other than the EH frame registration, this patch also implements support for GOT relocations which are used to locate the personality function on MachO. llvm-svn: 181167
* AArch64: enable MCJIT and tests now that everything passes.Tim Northover2013-05-041-3/+4
| | | | | | | This removes dire warnings about AArch64 being unsupported and enables the tests when appropriate on this platform. llvm-svn: 181135
* Fix Addend computation for non external relocations on Macho.Rafael Espindola2013-04-301-0/+12
| | | | llvm-svn: 180790
* Collect the Addend for external relocs.Rafael Espindola2013-04-301-1/+0
| | | | | | | This fixes 2013-04-04-RelocAddend.ll. We don't have a testcase for non external relocs with an Addend. I will try to write one. llvm-svn: 180767
* Add getSymbolAlignment to the ObjectFile interface.Rafael Espindola2013-04-291-1/+0
| | | | | | | | | | | | | For regular object files this is only meaningful for common symbols. An object file format with direct support for atoms should be able to provide alignment information for all symbols. This replaces getCommonSymbolAlignment and fixes test-common-symbols-alignment.ll on darwin. This also includes a fix to MachOObjectFile::getSymbolFlags. It was marking undefined symbols as common (already tested by existing mcjit tests now that it is used). llvm-svn: 180736
* Disable the MCJIT tests on 32 bit darwin.Rafael Espindola2013-04-291-0/+3
| | | | | | | I recently enabled them on 32 and 64 bit darwin, but it looks like 32 bit is still fairly broken. llvm-svn: 180730
* Propagate relocation info to resolveRelocation.Rafael Espindola2013-04-294-4/+4
| | | | | | This gets most of the MCJITs tests passing with MachO. llvm-svn: 180716
* Teach the interpreter to handle vector compares and additional vector ↵Nadav Rotem2013-04-265-0/+173
| | | | | | | | arithmetic operations. Patch by Yuri Veselov. llvm-svn: 180626
* Revert r179409 because it caused some warnings and some of the build bots fail.Nadav Rotem2013-04-125-173/+0
| | | | llvm-svn: 179418
* Add support for additional vector instructions in the interpreter.Nadav Rotem2013-04-125-0/+173
| | | | | | patch by Veselov, Yuri <Yuri.Veselov@intel.com>. llvm-svn: 179409
* Rewrite test/ExecutionEngine tests to use FileCheck instead of grepEli Bendersky2013-04-084-6/+10
| | | | llvm-svn: 179043
* [mips] XFAIL test-interp-vec-loadstore.ll in an attempt to turn builderAkira Hatanaka2013-04-051-0/+1
| | | | | | | | | llvm-mips-linux green. llvm-mips-linux runs on a big endian machine. This test passes if I change 'e' to 'E' in the target data layout string. llvm-svn: 178910
* Respect Addend when processing MCJIT relocations to local/global symbols.Ulrich Weigand2013-04-051-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the RuntimeDyldELF::processRelocationRef routine finds the target symbol of a relocation in the local or global symbol table, it performs a section-relative relocation: Value.SectionID = lsi->second.first; Value.Addend = lsi->second.second; At this point, however, any Addend that might have been specified in the original relocation record is lost. This is somewhat difficult to trigger for relocations within the code section since they usually do not contain non-zero Addends (when built with the default JIT code model, in any case). However, the problem can be reliably triggered by a relocation within the data section caused by code like: int test[2] = { -1, 0 }; int *p = &test[1]; The initializer of "p" will need a relocation to "test + 4". On platforms using RelA relocations this means an Addend of 4 is required. Current code ignores this addend when processing the relocation, resulting in incorrect execution. Fixed by taking the Addend into account when processing relocations to symbols found in the local or global symbol table. Tested on x86_64-linux and powerpc64-linux. llvm-svn: 178869
* Add support for vector data types in the LLVM interpreter.Nadav Rotem2013-04-011-0/+84
| | | | | | | Patch by: Veselov, Yuri <Yuri.Veselov@intel.com> llvm-svn: 178469
* Disable Execution Engine tests not supported by Hexagon.Jyotsna Verma2013-03-251-0/+2
| | | | llvm-svn: 177896
OpenPOWER on IntegriCloud