oota-llvm.git
17 years agoNew test case.
Devang Patel [Tue, 17 Apr 2007 20:29:12 +0000 (20:29 +0000)]
New test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36217 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd a register allocation preference field; add a method to compute size of a live...
Evan Cheng [Tue, 17 Apr 2007 20:25:11 +0000 (20:25 +0000)]
Add a register allocation preference field; add a method to compute size of a live interval.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36216 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoChange getAllocatableSet() so it returns allocatable registers for a specific registe...
Evan Cheng [Tue, 17 Apr 2007 20:23:34 +0000 (20:23 +0000)]
Change getAllocatableSet() so it returns allocatable registers for a specific register class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36215 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoKeep track of number of uses within the function per virtual register.
Evan Cheng [Tue, 17 Apr 2007 20:22:11 +0000 (20:22 +0000)]
Keep track of number of uses within the function per virtual register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36214 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd comment
Anton Korobeynikov [Tue, 17 Apr 2007 19:34:00 +0000 (19:34 +0000)]
Add comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36213 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSIGN_EXTEND_INREG does not demand its top bits. Give SimplifyDemandedBits
Chris Lattner [Tue, 17 Apr 2007 19:03:21 +0000 (19:03 +0000)]
SIGN_EXTEND_INREG does not demand its top bits.  Give SimplifyDemandedBits
a chance to hack on it.  This compiles:

int baz(long long a) { return (short)(((int)(a >>24)) >> 9); }

into:
_baz:
        slwi r2, r3, 8
        srwi r2, r2, 9
        extsh r3, r2
        blr

instead of:

_baz:
        srwi r2, r4, 24
        rlwimi r2, r3, 8, 0, 23
        srwi r2, r2, 9
        extsh r3, r2
        blr

This implements CodeGen/PowerPC/sign_ext_inreg1.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36212 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agonew testcase
Chris Lattner [Tue, 17 Apr 2007 19:03:02 +0000 (19:03 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36211 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoCommit an patch from Gabor Greif in Mar 2005. This eliminates the tail
Chris Lattner [Tue, 17 Apr 2007 18:41:42 +0000 (18:41 +0000)]
Commit an patch from Gabor Greif in Mar 2005.  This eliminates the tail
pointer from ilist, storing it in the prev pointer of the first node in the
list instead.

This shrinks ilist from 8 to 4 bytes, BasicBlock from 40->36 bytes, Function
from 76->68 bytes, Module from 52->44 bytes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36210 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agomake getnext/getprev accessors private.
Chris Lattner [Tue, 17 Apr 2007 18:30:41 +0000 (18:30 +0000)]
make getnext/getprev accessors private.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36209 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSpell doFinalization right, so that it is a proper virtual override and
Dan Gohman [Tue, 17 Apr 2007 18:21:36 +0000 (18:21 +0000)]
Spell doFinalization right, so that it is a proper virtual override and
gets called.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36208 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agomake next/prev accessors private
Chris Lattner [Tue, 17 Apr 2007 18:16:39 +0000 (18:16 +0000)]
make next/prev accessors private

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36207 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agobool on darwin/ppc is 4 bytes.
Chris Lattner [Tue, 17 Apr 2007 18:15:04 +0000 (18:15 +0000)]
bool on darwin/ppc is 4 bytes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36206 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove use of BasicBlock::getNext
Chris Lattner [Tue, 17 Apr 2007 18:09:47 +0000 (18:09 +0000)]
remove use of BasicBlock::getNext

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36205 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoInstruction:: Next/Prev accessors are now private
Chris Lattner [Tue, 17 Apr 2007 18:03:55 +0000 (18:03 +0000)]
Instruction:: Next/Prev accessors are now private

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36204 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoadd a note
Chris Lattner [Tue, 17 Apr 2007 18:03:00 +0000 (18:03 +0000)]
add a note

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36203 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove use of BasicBlock::getNext
Chris Lattner [Tue, 17 Apr 2007 17:54:12 +0000 (17:54 +0000)]
remove use of BasicBlock::getNext

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36202 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRemove use of Instruction::getNext
Chris Lattner [Tue, 17 Apr 2007 17:52:45 +0000 (17:52 +0000)]
Remove use of Instruction::getNext

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36201 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate use of Instruction::getNext()
Chris Lattner [Tue, 17 Apr 2007 17:51:03 +0000 (17:51 +0000)]
eliminate use of Instruction::getNext()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36200 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove use of Instruction::getNext
Chris Lattner [Tue, 17 Apr 2007 17:47:54 +0000 (17:47 +0000)]
remove use of Instruction::getNext

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36199 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate use of Instruction::getPrev(). Patch by Gabor Greif in 2005.
Chris Lattner [Tue, 17 Apr 2007 17:38:28 +0000 (17:38 +0000)]
eliminate use of Instruction::getPrev().  Patch by Gabor Greif in 2005.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36198 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoeliminate a use of Instruction::getPrev(), patch by Gabor Greif in 2005.
Chris Lattner [Tue, 17 Apr 2007 17:36:12 +0000 (17:36 +0000)]
eliminate a use of Instruction::getPrev(), patch by Gabor Greif in 2005.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36197 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agorename X86FunctionInfo to X86MachineFunctionInfo to match the header file
Chris Lattner [Tue, 17 Apr 2007 17:21:52 +0000 (17:21 +0000)]
rename X86FunctionInfo to X86MachineFunctionInfo to match the header file
it is defined in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36196 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoImplemented correct stack probing on mingw/cygwin for dynamic alloca's.
Anton Korobeynikov [Tue, 17 Apr 2007 09:20:00 +0000 (09:20 +0000)]
Implemented correct stack probing on mingw/cygwin for dynamic alloca's.
Also, fixed static case in presence of eax livin. This fixes PR331

PS: Why don't we still have push/pop instructions? :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36195 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake it work on 64-bit systems.
Jeff Cohen [Tue, 17 Apr 2007 05:48:35 +0000 (05:48 +0000)]
Make it work on 64-bit systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36194 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix build breakage on 64-bit systems.
Jeff Cohen [Tue, 17 Apr 2007 05:33:04 +0000 (05:33 +0000)]
Fix build breakage on 64-bit systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36193 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agomerge several fields in GlobalValue to use the same word, move CallingConv
Chris Lattner [Tue, 17 Apr 2007 04:31:29 +0000 (04:31 +0000)]
merge several fields in GlobalValue to use the same word, move CallingConv
field into SubclassData in Value.  This shrinks GlobalVAlue from 48->40
bytes, Function from 88->76, and GlobalVariable from 76->68.  This trims
4640 bytes off my testcase, reading a bc file without materializing any
functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36192 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse this nifty Constraints thing and fix the inverted conditional moves
Andrew Lenharth [Tue, 17 Apr 2007 04:07:59 +0000 (04:07 +0000)]
Use this nifty Constraints thing and fix the inverted conditional moves

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36191 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agothis is fixed
Andrew Lenharth [Tue, 17 Apr 2007 04:07:27 +0000 (04:07 +0000)]
this is fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36190 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoThe (negative) offset from a SymbolTableListTraits-using ilist to its container
Chris Lattner [Tue, 17 Apr 2007 04:04:14 +0000 (04:04 +0000)]
The (negative) offset from a SymbolTableListTraits-using ilist to its container
object is always constant.  As such, evaluate it at compile time instead of storing
it as an ivar in SymbolTableListTraits.  This shrinks every SymbolTableListTraits
ilist by a word, shrinking BasicBlock from 44->40 bytes, Function from 96->88 bytes,
and Module from 60->52 bytes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36189 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRefactor SymbolTableListTraits to only have a single pointer in it, instead
Chris Lattner [Tue, 17 Apr 2007 03:26:42 +0000 (03:26 +0000)]
Refactor SymbolTableListTraits to only have a single pointer in it, instead
of two.  This shrinkifies Function by 8 bytes (104->96) and Module by 8
bytes (68->60).  On a testcase of mine, this reduces the memory used to
read a module header from 565680b to 561024, a little over 4K.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36188 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agourr, yeah.
Chris Lattner [Tue, 17 Apr 2007 02:04:39 +0000 (02:04 +0000)]
urr, yeah.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36187 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRemove "ModulePasses requiring FunctionPasses" from the list of future
Devang Patel [Tue, 17 Apr 2007 00:17:11 +0000 (00:17 +0000)]
Remove "ModulePasses requiring FunctionPasses" from the list of future
extensions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36186 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSSE4 is apparently public now.
Chris Lattner [Tue, 17 Apr 2007 00:02:37 +0000 (00:02 +0000)]
SSE4 is apparently public now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36185 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd PR number for reference.
Devang Patel [Mon, 16 Apr 2007 23:52:37 +0000 (23:52 +0000)]
Add PR number for reference.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36184 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMake long line fit in 80 cols.
Reid Spencer [Mon, 16 Apr 2007 23:32:28 +0000 (23:32 +0000)]
Make long line fit in 80 cols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36183 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix
Devang Patel [Mon, 16 Apr 2007 23:03:45 +0000 (23:03 +0000)]
Fix
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070416/047888.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36182 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoNew test case.
Devang Patel [Mon, 16 Apr 2007 23:02:22 +0000 (23:02 +0000)]
New test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36181 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix problems in the PartSet lowering having to do with incorrect bit width.
Reid Spencer [Mon, 16 Apr 2007 22:21:14 +0000 (22:21 +0000)]
Fix problems in the PartSet lowering having to do with incorrect bit width.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36180 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate
Reid Spencer [Mon, 16 Apr 2007 22:02:23 +0000 (22:02 +0000)]
Regenerate

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36179 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoOkay, yes there *is* a getKeyLength method on ValueName. And, it should be
Reid Spencer [Mon, 16 Apr 2007 22:01:57 +0000 (22:01 +0000)]
Okay, yes there *is* a getKeyLength method on ValueName. And, it should be
used because we *do* want to allow nulls in names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36178 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoIn the event that some really old non-Intel or -AMD CPU is encountered...
Jeff Cohen [Mon, 16 Apr 2007 21:59:44 +0000 (21:59 +0000)]
In the event that some really old non-Intel or -AMD CPU is encountered...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36177 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix this test from Duncan's experiment.
Reid Spencer [Mon, 16 Apr 2007 21:57:14 +0000 (21:57 +0000)]
Fix this test from Duncan's experiment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36176 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAlso validate that the code generation of IntrinsicLowering for LLI works.
Reid Spencer [Mon, 16 Apr 2007 21:52:56 +0000 (21:52 +0000)]
Also validate that the code generation of IntrinsicLowering for LLI works.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36175 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoImplement @sext and @zext parameter attribute handling properly instead of
Reid Spencer [Mon, 16 Apr 2007 21:50:40 +0000 (21:50 +0000)]
Implement @sext and @zext parameter attribute handling properly instead of
forcing every small argument of every function regardless of attributes or
calling convention to be expanded.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36174 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoBefore assuming that the original code didn't work for Athlon64, the person who
Jeff Cohen [Mon, 16 Apr 2007 21:48:58 +0000 (21:48 +0000)]
Before assuming that the original code didn't work for Athlon64, the person who
replaced it with a FIXME should have determined what did work.  Then he would have
realized that the code was in fact correct, and would have avoided breaking it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36173 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agorefix this
Chris Lattner [Mon, 16 Apr 2007 21:30:21 +0000 (21:30 +0000)]
refix this

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36172 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoDocument how, module pass can require function pass.
Devang Patel [Mon, 16 Apr 2007 21:28:14 +0000 (21:28 +0000)]
Document how, module pass can require function pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36171 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agouse an x86 t-t for an x86 test. Thanks to Dan for noticing this!
Chris Lattner [Mon, 16 Apr 2007 21:26:37 +0000 (21:26 +0000)]
use an x86 t-t for an x86 test.  Thanks to Dan for noticing this!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36170 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix incorrectly upgraded test
Chris Lattner [Mon, 16 Apr 2007 21:24:14 +0000 (21:24 +0000)]
fix incorrectly upgraded test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36169 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix 80 col violations.
Reid Spencer [Mon, 16 Apr 2007 21:24:12 +0000 (21:24 +0000)]
Fix 80 col violations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36168 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoWe shouldn't have tests for features we don't have yet.
Chris Lattner [Mon, 16 Apr 2007 21:22:58 +0000 (21:22 +0000)]
We shouldn't have tests for features we don't have yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36167 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoremove bogus test
Chris Lattner [Mon, 16 Apr 2007 21:20:27 +0000 (21:20 +0000)]
remove bogus test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36166 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSpelling fix.
Duncan Sands [Mon, 16 Apr 2007 21:19:45 +0000 (21:19 +0000)]
Spelling fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36165 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoMAke this test portable.
Chris Lattner [Mon, 16 Apr 2007 21:18:56 +0000 (21:18 +0000)]
MAke this test portable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36164 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTest code quality for variable length array references.
Duncan Sands [Mon, 16 Apr 2007 21:13:57 +0000 (21:13 +0000)]
Test code quality for variable length array references.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36163 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoCheck handling of arrays of variable sized components.
Duncan Sands [Mon, 16 Apr 2007 21:12:03 +0000 (21:12 +0000)]
Check handling of arrays of variable sized components.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36162 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoHeal this test
Anton Korobeynikov [Mon, 16 Apr 2007 21:07:00 +0000 (21:07 +0000)]
Heal this test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36161 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix this test
Chris Lattner [Mon, 16 Apr 2007 21:05:37 +0000 (21:05 +0000)]
fix this test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36160 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoProivde getAnalysis<FPAnalysis>(Func) support.
Devang Patel [Mon, 16 Apr 2007 20:56:24 +0000 (20:56 +0000)]
Proivde  getAnalysis<FPAnalysis>(Func) support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36159 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoDo not assert during analysis implementation initialization.
Devang Patel [Mon, 16 Apr 2007 20:44:16 +0000 (20:44 +0000)]
Do not assert during analysis implementation initialization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36158 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoPrint and delete on the fly pass managers.
Devang Patel [Mon, 16 Apr 2007 20:39:59 +0000 (20:39 +0000)]
Print and delete on the fly pass managers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36157 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 20:35:38 +0000 (20:35 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36156 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoCheck length of string before we walk off the end of it.
Reid Spencer [Mon, 16 Apr 2007 20:31:06 +0000 (20:31 +0000)]
Check length of string before we walk off the end of it.
Thanks, Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36155 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUpdate module pass manager to support module passes that require
Devang Patel [Mon, 16 Apr 2007 20:27:05 +0000 (20:27 +0000)]
Update module pass manager to support module passes that require
function passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36154 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoGive each pass manager chance to manage lower level analysis pass, which is
Devang Patel [Mon, 16 Apr 2007 20:12:57 +0000 (20:12 +0000)]
Give each pass manager chance to manage lower level analysis pass, which is
pass required by one of pass managed by the manager.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36153 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFixes tests and remove xfail.
Evan Cheng [Mon, 16 Apr 2007 20:04:11 +0000 (20:04 +0000)]
Fixes tests and remove xfail.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36152 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoOne more callee-saved register used.
Evan Cheng [Mon, 16 Apr 2007 18:59:25 +0000 (18:59 +0000)]
One more callee-saved register used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36151 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix test.
Evan Cheng [Mon, 16 Apr 2007 18:55:46 +0000 (18:55 +0000)]
Fix test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36150 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoAdd getPotentialPassManagerType(). No functionality change, yet.
Devang Patel [Mon, 16 Apr 2007 18:51:25 +0000 (18:51 +0000)]
Add getPotentialPassManagerType(). No functionality change, yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36149 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTestcase for C front-end crash.
Duncan Sands [Mon, 16 Apr 2007 18:51:13 +0000 (18:51 +0000)]
Testcase for C front-end crash.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36148 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTestcase for debug info emission for structure fields at variable offsets.
Duncan Sands [Mon, 16 Apr 2007 18:49:21 +0000 (18:49 +0000)]
Testcase for debug info emission for structure fields at variable offsets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36147 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRemoved tabs everywhere except autogenerated & external files. Add make
Anton Korobeynikov [Mon, 16 Apr 2007 18:10:23 +0000 (18:10 +0000)]
Removed tabs everywhere except autogenerated & external files. Add make
target for tabs checking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36146 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 17:51:25 +0000 (17:51 +0000)]
For PR1336:
Un-XFAIL because this passes now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36145 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 17:47:06 +0000 (17:47 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36144 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse a more optimal way to get the name of a function. Thanks, Chris.
Reid Spencer [Mon, 16 Apr 2007 17:45:50 +0000 (17:45 +0000)]
Use a more optimal way to get the name of a function. Thanks, Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36143 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Mon, 16 Apr 2007 17:36:08 +0000 (17:36 +0000)]
For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix hello.ll test.
Lauro Ramos Venancio [Mon, 16 Apr 2007 17:08:00 +0000 (17:08 +0000)]
Fix hello.ll test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36141 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix align test.
Lauro Ramos Venancio [Mon, 16 Apr 2007 16:57:47 +0000 (16:57 +0000)]
Fix align test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36140 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoDon't return 0 if the len == 5, let the assert handle that case.
Reid Spencer [Mon, 16 Apr 2007 16:56:54 +0000 (16:56 +0000)]
Don't return 0 if the len == 5, let the assert handle that case.
Thanks, Chris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36139 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoLook for site.exp in the build directory, not the source directory.
Duncan Sands [Mon, 16 Apr 2007 16:45:12 +0000 (16:45 +0000)]
Look for site.exp in the build directory, not the source directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36138 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoUse %s, not explicit name.
Duncan Sands [Mon, 16 Apr 2007 16:06:17 +0000 (16:06 +0000)]
Use %s, not explicit name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36136 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoChange ne into !=.
Duncan Sands [Mon, 16 Apr 2007 15:37:00 +0000 (15:37 +0000)]
Change ne into !=.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36135 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Mon, 16 Apr 2007 15:31:49 +0000 (15:31 +0000)]
For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1319:
Reid Spencer [Mon, 16 Apr 2007 15:15:52 +0000 (15:15 +0000)]
For PR1319:
Fix test syntax per new rules.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36133 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix the syntax for these tests. Noticed by Duncan Sands.
Reid Spencer [Mon, 16 Apr 2007 15:00:39 +0000 (15:00 +0000)]
Fix the syntax for these tests. Noticed by Duncan Sands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36132 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoSyntax upgrade and fix for PR1336.
Reid Spencer [Mon, 16 Apr 2007 14:46:17 +0000 (14:46 +0000)]
Syntax upgrade and fix for PR1336.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36131 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:23:07 +0000 (14:23 +0000)]
For PR1336:
Rename test functions to not conflict with an instruction mnemonic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36130 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:20:28 +0000 (14:20 +0000)]
For PR1336:
Ignore case for instruction mnemonic comparison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36129 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoWrap long line.
Reid Spencer [Mon, 16 Apr 2007 14:17:04 +0000 (14:17 +0000)]
Wrap long line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36128 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:14:31 +0000 (14:14 +0000)]
For PR1336:
Ignore case for register name compare.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36127 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:07:53 +0000 (14:07 +0000)]
For PR1336:
Un-XFAIL as Alpha feature now specified in lower case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36126 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1336:
Reid Spencer [Mon, 16 Apr 2007 14:06:19 +0000 (14:06 +0000)]
For PR1336:
Subtarget option names must be given in lower case in order to be
recognized. Fixes test/CodeGen/Alpha/ctlz.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36125 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix typos.
Duncan Sands [Mon, 16 Apr 2007 13:02:27 +0000 (13:02 +0000)]
Fix typos.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36124 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFix test/CodeGen/Generic/vector-constantexpr.ll
Reid Spencer [Mon, 16 Apr 2007 07:08:44 +0000 (07:08 +0000)]
Fix test/CodeGen/Generic/vector-constantexpr.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36123 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoRegenerate.
Reid Spencer [Mon, 16 Apr 2007 06:56:07 +0000 (06:56 +0000)]
Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36122 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1328:
Reid Spencer [Mon, 16 Apr 2007 06:55:42 +0000 (06:55 +0000)]
For PR1328:
Use the new parameter on Function::getIntrinsicID to identify cases where
a function is being called with an "llvm." name but it isn't actually an
intrinsic. In such cases generate an error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36121 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoFor PR1328:
Reid Spencer [Mon, 16 Apr 2007 06:54:34 +0000 (06:54 +0000)]
For PR1328:
Don't assert everytime an intrinsic name isn't recognized. Instead, make
the assert optional when callin getIntrinsicID(). This allows the assembler
to handle invalid intrinsic names gracefully.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36120 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agoTest case for PR1328.
Reid Spencer [Mon, 16 Apr 2007 06:52:21 +0000 (06:52 +0000)]
Test case for PR1328.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36119 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agomake this test more portable.
Chris Lattner [Mon, 16 Apr 2007 06:14:28 +0000 (06:14 +0000)]
make this test more portable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36118 91177308-0d34-0410-b5e6-96231b3b80d8

17 years agofix incorrectly upgraded test
Chris Lattner [Mon, 16 Apr 2007 06:10:47 +0000 (06:10 +0000)]
fix incorrectly upgraded test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36117 91177308-0d34-0410-b5e6-96231b3b80d8