1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
Commit Graph

2562 Commits

Author SHA1 Message Date
Reid Spencer
18fcfbb563 Add a run line to this test.
llvm-svn: 31211
2006-10-27 05:30:23 +00:00
Chris Lattner
8377ebcec3 new testcase, should not reassoc fp vector
llvm-svn: 31199
2006-10-26 18:26:53 +00:00
Rafael Espindola
99322ef58c initial support for frame pointers
llvm-svn: 31197
2006-10-26 13:31:26 +00:00
Reid Spencer
6833ffe8b8 For PR950:
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.

llvm-svn: 31195
2006-10-26 06:15:43 +00:00
Nick Lewycky
312b457350 Handling of setlt/le/gt/ge is broken at the moment; predsimplify removes
the call the pass2.

llvm-svn: 31192
2006-10-26 02:33:51 +00:00
Nick Lewycky
5076440f74 This testcase was logically wrong! Fixing, and including the test for the
mistake that I made in the file too.

llvm-svn: 31190
2006-10-26 00:51:58 +00:00
Evan Cheng
ac5b12519b New shuffle test case.
llvm-svn: 31187
2006-10-25 21:59:00 +00:00
Chris Lattner
064d24f6a8 Allow this to pass on ppc
llvm-svn: 31178
2006-10-25 16:37:47 +00:00
Chris Lattner
4c3dd54300 Modernize the testcase, allow it to pass on ppc
llvm-svn: 31177
2006-10-25 16:35:10 +00:00
Rafael Espindola
a962656c07 expand ISD::VACOPY
llvm-svn: 31170
2006-10-24 20:15:21 +00:00
Chris Lattner
3b42d11f6e new testcase
llvm-svn: 31163
2006-10-24 17:09:20 +00:00
Chris Lattner
bca9b5f4bc New testcase that crashes scalarrepl
llvm-svn: 31150
2006-10-24 06:26:08 +00:00
Evan Cheng
66c0075a29 Update test case.
llvm-svn: 31139
2006-10-23 21:47:11 +00:00
Rafael Espindola
70f01d5cc0 implement STRB and STRH
llvm-svn: 31138
2006-10-23 20:34:27 +00:00
Andrew Lenharth
daafe61834 restore these tests
llvm-svn: 31133
2006-10-23 19:52:27 +00:00
Chris Lattner
f207a5475b new testcase
llvm-svn: 31131
2006-10-23 18:54:35 +00:00
Evan Cheng
1d4f5b942b Fix test case.
llvm-svn: 31127
2006-10-23 05:11:09 +00:00
Nick Lewycky
b81c926e06 Handle "if ((x|y) != 0)" for ints like we do for bools. Fixes missed
optimization opportunity pointed out by Chris Lattner.

llvm-svn: 31118
2006-10-22 21:36:41 +00:00
Chris Lattner
696ed4adae new testcase for PR964
llvm-svn: 31117
2006-10-22 21:36:06 +00:00
Nick Lewycky
c680dabd94 AllocaInst can't return a null pointer. Fixes missed optimization
opportunity pointed out by Andrew Lewycky.

llvm-svn: 31115
2006-10-22 19:53:27 +00:00
Bill Wendling
da5290e752 Changed the pattern matching so that it will hopefully work on Linux.
llvm-svn: 31069
2006-10-20 18:15:24 +00:00
Devang Patel
90e5f0400c Test case for
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061016/038780.html

llvm-svn: 31068
2006-10-20 18:06:37 +00:00
Chris Lattner
74b2337a26 new testcase for PR957
llvm-svn: 31060
2006-10-20 00:41:31 +00:00
Bill Wendling
14b1a3c31b Testcase for P926
llvm-svn: 31058
2006-10-19 23:21:59 +00:00
Devang Patel
880a9d823f It is OK to remove extra cast if operation is EQ/NE even though source
and destination sign may not match but other conditions are met.

llvm-svn: 31056
2006-10-19 20:59:13 +00:00
Devang Patel
d9ade71cc7 Fix bug in PR454 resolution. Added new test case.
This fixes llvmAsmParser.cpp miscompile by llvm on PowerPC Darwin.

llvm-svn: 31053
2006-10-19 18:54:08 +00:00
Rafael Espindola
f7a41f3ddd print common symbols
llvm-svn: 31048
2006-10-19 13:30:40 +00:00
Rafael Espindola
1220d18e11 add blx
llvm-svn: 31037
2006-10-18 16:21:43 +00:00
Rafael Espindola
80c7461ada implement CallingConv::Fast as CallingConv::C
llvm-svn: 31034
2006-10-18 12:03:07 +00:00
Chris Lattner
a4e5ea95d4 new testcase
llvm-svn: 31029
2006-10-18 01:21:35 +00:00
Chris Lattner
997ef7b8a3 new testcase, miscompilation of llvm with itself.
llvm-svn: 31018
2006-10-17 21:23:20 +00:00
Rafael Espindola
58233f9db2 expand ISD::SDIV, ISD::UDIV, ISD::SREM and ISD::UREM
llvm-svn: 31014
2006-10-17 21:05:33 +00:00
Rafael Espindola
fe0a9a6fe2 add FABSS and FABSD
llvm-svn: 31012
2006-10-17 20:33:13 +00:00
Rafael Espindola
a8f8a3ef26 cleanup some tests
llvm-svn: 31010
2006-10-17 20:20:07 +00:00
Rafael Espindola
64f93033bc remove extra [] in stores
llvm-svn: 31008
2006-10-17 18:29:14 +00:00
Chris Lattner
d5554a07c0 new testcase
llvm-svn: 31005
2006-10-17 18:14:39 +00:00
Rafael Espindola
47970f96ac initial implementation of addressing mode 5
llvm-svn: 31002
2006-10-17 18:04:53 +00:00
Rafael Espindola
d5a6eaec14 add the immediate to the Offset in eliminateFrameIndex
llvm-svn: 30998
2006-10-17 14:34:02 +00:00
Rafael Espindola
31f59f5b94 add FSTD and FSTS
llvm-svn: 30996
2006-10-17 13:36:07 +00:00
Rafael Espindola
a156538e34 add fdivs e fdivd
llvm-svn: 30988
2006-10-16 21:50:04 +00:00
Rafael Espindola
4f61431679 expand ISD::SHL_PARTS, ISD::SRA_PARTS and ISD::SRL_PARTS
llvm-svn: 30987
2006-10-16 21:10:32 +00:00
Rafael Espindola
d255bfb09b implement LDRB, LDRSB, LDRH and LDRSH
llvm-svn: 30976
2006-10-16 17:17:22 +00:00
Rafael Espindola
93359fa883 implement smull and umull
llvm-svn: 30975
2006-10-16 16:33:29 +00:00
Chris Lattner
a5383a5b2d testcase that causes the asmparser to assert
llvm-svn: 30969
2006-10-15 23:26:28 +00:00
Rafael Espindola
38c602f658 fix some fp condition codes
use non trapping comparison instructions

llvm-svn: 30962
2006-10-14 13:42:53 +00:00
Evan Cheng
078a38abd7 One cyclic dag a day is good for ya...
llvm-svn: 30960
2006-10-14 08:35:02 +00:00
Chris Lattner
3fbcd8519e testcase for recent dag combiner patch. Before the entry bb was:
_test:
        stwu r1, -80(r1)
        stw r1, 76(r1)
        mflr r11
        stw r11, 88(r1)
        rlwinm r2, r4, 0, 30, 31
        cmplwi cr7, r2, 2
        mfcr r2
        rlwinm r2, r2, 30, 31, 31
        cmplwi cr0, r2, 0
        bne cr0, LBB1_2 ;UnifiedReturnBlock

after it is:

_test:
        stwu r1, -80(r1)
        stw r1, 76(r1)
        mflr r11
        stw r11, 88(r1)
        rlwinm r2, r4, 0, 30, 31
        cmplwi cr0, r2, 2
        bgt cr0, LBB1_2 ;UnifiedReturnBlock

llvm-svn: 30954
2006-10-14 03:40:02 +00:00
Chris Lattner
cfa6a33663 testcase for recent selectiondag patch
llvm-svn: 30949
2006-10-13 23:54:16 +00:00
Rafael Espindola
1f85e7a2a1 add FNEGS and FNEGD
llvm-svn: 30932
2006-10-13 17:37:35 +00:00
Rafael Espindola
042e61af25 add SBCS and SUBS
llvm-svn: 30930
2006-10-13 17:19:20 +00:00