Commit Graph

2239 Commits

Author SHA1 Message Date
Duraid Madina
c6342355c9 fails since linux-itanium headers are Different
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23326 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-13 01:03:53 +00:00
Chris Lattner
15cc608a8f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23323 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-12 23:22:17 +00:00
Chris Lattner
128a0032a2 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23321 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-12 22:19:46 +00:00
Chris Lattner
598fbf756f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23319 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-12 21:59:22 +00:00
Chris Lattner
e4b56572f9 relax pattern match on name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23317 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-12 17:09:40 +00:00
Chris Lattner
24e357ce11 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23316 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-12 17:08:15 +00:00
Chris Lattner
a0cf183e2c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23312 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-12 05:50:15 +00:00
Chris Lattner
6b780a702e Make sure to disable 64-bit extensions for this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23309 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-11 03:50:38 +00:00
Chris Lattner
be04081240 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23305 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-10 01:14:37 +00:00
Chris Lattner
a4d9dc7392 New testcase, neither should require a register-register copy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23290 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-09 17:48:57 +00:00
Chris Lattner
d0d1d39541 x and X should be structurally identical
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23273 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-08 18:47:43 +00:00
Nate Begeman
eeff9b055c Test the new 64bit i64<->fp functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23251 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-06 22:23:15 +00:00
Chris Lattner
5838b21cde new testcase: tblgen should grok this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23247 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-06 21:22:15 +00:00
Chris Lattner
c789701360 Test that converting from double to int64 results in one libcall, not one
and a dead one.  This is a legalize bug


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23227 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-02 20:24:10 +00:00
Chris Lattner
446a4eaee5 new testcase to ensure fsqrt is generated for correct subtargets only, and
that the fsqrt feature works.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23217 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-02 18:32:22 +00:00
Chris Lattner
d6c69e9bba new testcase for recent bugfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23212 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-02 06:12:12 +00:00
Chris Lattner
7dd8b05fd7 This should permit NOT and's, not even dead ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23199 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-02 00:13:56 +00:00
Chris Lattner
9832ce0f0a Another case that shouldn't have sign extends: functions returning short
are known to return properly sign extended values, no need for an explicit
extension.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23197 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-01 23:43:58 +00:00
Nate Begeman
feca19b0d4 Add regression test for efficient codegen of i32 x i32 -> hi32(i64) as
mulhs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23183 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-01 00:04:03 +00:00
Chris Lattner
c730706a89 Add a testcase for nate's patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23172 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-31 18:19:50 +00:00
Chris Lattner
353f1dea50 new testcase corresponding to PR621
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23157 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-30 21:02:51 +00:00
Chris Lattner
dd43c866c8 The dag isel misses both of these, the pattern isel just misses the second
one.  TODO :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23156 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-30 18:44:09 +00:00
Chris Lattner
fa48be79ae new testcase that crashes -reassociate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23018 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-24 17:54:56 +00:00
Chris Lattner
890226dd34 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23016 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-24 17:20:30 +00:00
Chris Lattner
135a0428a8 Make sure this doesn't break when we're improving the isels
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23014 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-24 16:48:49 +00:00
Chris Lattner
c544cece40 New testcase for PR618
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22983 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-23 20:22:07 +00:00
Chris Lattner
4c23c5b330 Testcase for a crash in the legalizer on ia64. This is reduced from kc++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22968 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-22 17:16:49 +00:00
Chris Lattner
ea966d714f Add a long-overdue itanium regression test dir: hint hint Duraid :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22967 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-22 17:15:41 +00:00
Chris Lattner
2cfd128bec Fix a bug in the RUN line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22945 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-21 16:37:36 +00:00
Chris Lattner
957e574b30 remove dead args
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22900 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-19 01:17:18 +00:00
Chris Lattner
d8fba827ec remove dead options
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22899 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-19 01:16:18 +00:00
Chris Lattner
2b5d3cf6a0 remove dead flags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22898 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-19 01:14:40 +00:00
Jim Laskey
e5df8ea4a6 Unmangled names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22875 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-18 20:06:09 +00:00
Jim Laskey
8e083803cf 1. Fix comment.
2. Get an exact count of 'li ' instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22872 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-18 19:38:57 +00:00
Jim Laskey
5a53c2cbfa Add regression test to make sure that constants are generated optimally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22871 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-18 19:32:46 +00:00
Nate Begeman
43c3c70b10 Add a testcase for load short -> uint, which is currently emitted as a
zextload + sign_extend_inreg rather than a sextload.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22852 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-18 03:11:44 +00:00
Chris Lattner
b061f1f49c new testcase distilled from mesa
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22842 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-17 21:21:47 +00:00
Chris Lattner
8fa142729b testcase that crashes lsr, distilled from 175.vpr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22796 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-16 00:36:12 +00:00
Jim Laskey
4a17addadb Added test cases to guarantee use of ORC and ANDC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22772 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-12 23:40:14 +00:00
Chris Lattner
7e03c74941 testcase that crashed the ppc backend, distilled from crafty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22770 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-12 23:34:03 +00:00
Jim Laskey
191cf943e6 1. Added the function isOpcWithIntImmediate to simplify testing of operand with
specified opcode and an integer constant right operand.

2. Modified ISD::SHL, ISD::SRL, ISD::SRA to use rlwinm when applied after a mask.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22761 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-11 21:59:23 +00:00
Chris Lattner
6d92526fe1 now that we handle non-constant strides, this testcase passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22752 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-10 17:17:45 +00:00
Chris Lattner
8d56cdd0d1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22745 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-10 02:06:35 +00:00
Chris Lattner
a12489e34f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22743 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-10 01:11:24 +00:00
Chris Lattner
138268160a new testcase we handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22741 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-10 00:48:11 +00:00
Chris Lattner
3b7fd6647d new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22738 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-10 00:33:01 +00:00
Chris Lattner
645f381d38 Add testcases for new rlwinm cases handled, patch by Jim Laskey!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22730 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-09 20:24:16 +00:00
Chris Lattner
dd8ffdd685 new reg test for a failure last night on ppc/darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22725 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-09 18:07:45 +00:00
Chris Lattner
bf9af65a93 This is now implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22723 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-09 00:19:44 +00:00
Chris Lattner
0bc6bde317 A testcase I don't want to break in the future
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22718 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-08 22:13:49 +00:00