Jim Grosbach
5a94ed2d67
XFAIL for now. If someone with access to an ARM/Linux host wants to have a look
...
that would be great. They're ARM JIT failures, so without that, it's tough.
llvm-svn: 120731
2010-12-02 20:20:32 +00:00
Daniel Dunbar
95f870ece4
lli: Switch to using ParseIRFile, for consistency with other LLVM tools.
...
- Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters.
llvm-svn: 118952
2010-11-13 00:28:01 +00:00
Dale Johannesen
aa868ba745
Jim's recent fixes 118600, 118587, 118513 have made these work.
...
llvm-svn: 118652
2010-11-09 23:43:34 +00:00
Andrew Trick
e77cdffcf3
The ARM jit cannot handle these tests as of 2010-10-27.
...
(A PR will be linked to this rev.)
llvm-svn: 117620
2010-10-29 00:23:43 +00:00
Dan Gohman
0d55b3ecfc
Revert r101455, which fails on the llvm-arm-linux buildbot.
...
llvm-svn: 101515
2010-04-16 18:37:31 +00:00
Bill Wendling
60db5321b6
Add JIT exception handling test.
...
llvm-svn: 101455
2010-04-16 09:04:28 +00:00
Dan Gohman
37bf232609
Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,
...
respectively.
llvm-svn: 97531
2010-03-02 01:11:08 +00:00
Jay Foad
c4313ce9ba
Test case for http://llvm.org/PR6028 .
...
llvm-svn: 93511
2010-01-15 11:29:26 +00:00
Nick Lewycky
20b71b5437
Remove test. Execution tests are slow and generally not worth it.
...
llvm-svn: 86434
2009-11-08 02:23:15 +00:00
Nick Lewycky
c62b3b55b1
Fix run line.
...
llvm-svn: 86429
2009-11-08 01:04:45 +00:00
Nick Lewycky
21dd3f31b0
Fix the interpreter to not crash due to zeroext/signext
...
llvm-svn: 86428
2009-11-08 00:45:29 +00:00
Jeffrey Yasskin
4b0dd74b7f
Add a test for http://llvm.org/PR3043 .
...
llvm-svn: 83346
2009-10-05 23:51:08 +00:00
Bill Wendling
2809c62757
Remove failing test...
...
llvm-svn: 81303
2009-09-09 00:30:25 +00:00
Bill Wendling
95b3d14496
Fix PR4865. This syncs up the JIT's DWARF emitter with what's in the
...
'DwarfException.cpp' file, which changed how CIEs were emitted, the sizes of
some fields, etc.
llvm-svn: 81295
2009-09-09 00:11:02 +00:00
Dan Gohman
bf08e82d8e
Remove obsolete -f flags.
...
llvm-svn: 79992
2009-08-25 15:38:29 +00:00
Chris Lattner
c0e1f7be5f
Remove this test now that the interpreter doesn't support
...
interpreting the wrong endianness anymore. This fixes a
failure on clang-powerpc-darwin8
llvm-svn: 79880
2009-08-24 02:05:59 +00:00
Chris Lattner
d8999e8673
remove this test: it is testing for a "feature" I just removed.
...
llvm-svn: 79874
2009-08-23 23:01:02 +00:00
Chris Lattner
b8dac327a7
remove tests for removed intrinsics.
...
llvm-svn: 75433
2009-07-12 21:30:06 +00:00
Dan Gohman
5f6f8101d5
Split the Add, Sub, and Mul instruction opcodes into separate
...
integer and floating-point opcodes, introducing
FAdd, FSub, and FMul.
For now, the AsmParser, BitcodeReader, and IRBuilder all preserve
backwards compatability, and the Core LLVM APIs preserve backwards
compatibility for IR producers. Most front-ends won't need to change
immediately.
This implements the first step of the plan outlined here:
http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt
llvm-svn: 72897
2009-06-04 22:49:04 +00:00
Chris Lattner
0a0fa539da
remove a testcase that depends on -debug existing.
...
llvm-svn: 66936
2009-03-13 20:31:25 +00:00
Zhou Sheng
7b7326f3ce
This is case is to uncover the bug in IntrinsicLowering.cpp,
...
the LowerPartSet(). It didn't handle the situation correctly when
the low, high argument values are in reverse order (low > high)
with 'Val' type is i32 (a corner case).
llvm-svn: 63386
2009-01-30 08:59:51 +00:00
Nick Lewycky
7c5381a70c
Port this test from dejagnu to unit testing.
...
The way this worked before was to test APInt by running
"lli -force-interpreter=true" knowing the lli uses APInt under the hood to
store its values. Now, we test APInt directly.
llvm-svn: 62514
2009-01-19 18:08:33 +00:00
Zhou Sheng
9c9d852f08
Add a test case for APInt bug fix in r51999.
...
llvm-svn: 52000
2008-06-05 13:42:21 +00:00
Gabor Greif
b03785f0cd
Eliminate questionable syntax for stdin redirection. This probably also speeds things up a bit.
...
llvm-svn: 51357
2008-05-20 22:07:21 +00:00
Gabor Greif
807c2df887
sabre brings to my attention that the 'tr' suffix is also obsolete
...
llvm-svn: 51349
2008-05-20 21:00:03 +00:00
Gabor Greif
d8a4dbb5da
Rename the last test with .llx extension to .ll, resolve duplicate test by renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too.
...
llvm-svn: 51328
2008-05-20 19:52:04 +00:00
Chris Lattner
a9d8d647ca
rename *.llx -> *.ll, last batch.
...
llvm-svn: 49971
2008-04-19 22:32:52 +00:00
Tanya Lattner
8ac346c316
Remove llvm-upgrade and update tests.
...
llvm-svn: 48137
2008-03-10 07:21:50 +00:00
Duncan Sands
091a505971
Teach the interpreter to read and write memory in the
...
endianness of the target not of the host. Done by the
simple expedient of reversing bytes for primitive types
if the host and target endianness don't match. This is
correct for integer and pointer types. I don't know if
it is correct for floating point types.
llvm-svn: 45039
2007-12-14 19:38:31 +00:00
Zhou Sheng
8361abb64f
Remove this testcase as it will always fail on
...
platform like Darwin.
llvm-svn: 44977
2007-12-13 02:03:57 +00:00
Zhou Sheng
089df5d640
Fixed PR1629.
...
Make lli interpreter correctly call external functions sin()/cos(),
__cxa_guard_acquire() and __cxa_guard_release().
llvm-svn: 44910
2007-12-12 04:55:43 +00:00
Duncan Sands
1279851352
Fix PR1836: in the interpreter, read and write apints
...
using the minimum possible number of bytes. For little
endian targets run on little endian machines, apints are
stored in memory from LSB to MSB as before. For big endian
targets on big endian machines they are stored from MSB to
LSB which wasn't always the case before (if the target and
host endianness doesn't match values are stored according
to the host's endianness). Doing this requires knowing the
endianness of the host, which is determined when configuring -
thanks go to Anton for this. Only having access to little
endian machines I was unable to properly test the big endian
part, which is also the most complicated...
llvm-svn: 44796
2007-12-10 17:43:13 +00:00
Chris Lattner
863d6e8741
make this test have a deterministic result.
...
llvm-svn: 44404
2007-11-28 18:20:49 +00:00
Duncan Sands
a3c32699ce
Revert previous "fix" - the breakage was due to some
...
local changes, not the "not".
llvm-svn: 44402
2007-11-28 16:50:29 +00:00
Duncan Sands
0106c9a15b
This test somehow got an extra "not" during the
...
recent stderr updates.
llvm-svn: 44401
2007-11-28 15:36:27 +00:00
Tanya Lattner
c33660d278
Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests and fixed broken run lines.
...
XFAILed 3 arm regressions (will file bugs)
llvm-svn: 44389
2007-11-28 04:57:00 +00:00
John Criswell
57e5ed4b5a
Convert .cvsignore files
...
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Reid Spencer
c74dc663d1
Add a test case for shl of APInt integers > 64 bits by 0 shift amount.
...
llvm-svn: 37009
2007-05-12 17:59:55 +00:00
Reid Spencer
4a38716edd
Add a test case for testing the LLI interpreter wrt bitcast of fp to integer.
...
llvm-svn: 36732
2007-05-04 03:35:17 +00:00
Reid Spencer
d74463a129
For PR1319: Upgrade to new test harness
...
llvm-svn: 36070
2007-04-15 10:26:05 +00:00
Reid Spencer
56b310ae49
Make the llvm-runtest function much more amenable by eliminating all the
...
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918
2007-04-11 19:56:59 +00:00
Reid Spencer
1f2f4ae151
Make sure the value passed to test function is initialized.
...
llvm-svn: 33764
2007-02-01 21:58:46 +00:00
Reid Spencer
4572ce85b0
Regression is gone, don't try to find it on clean target.
...
llvm-svn: 33296
2007-01-17 07:59:14 +00:00