oota-llvm.git
17 years agoNew style x87 cmp instructions.
Evan Cheng [Tue, 25 Sep 2007 19:08:02 +0000 (19:08 +0000)]
New style x87 cmp instructions.

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

17 years agoHandle multiple induction variables.
Devang Patel [Tue, 25 Sep 2007 18:24:48 +0000 (18:24 +0000)]
Handle multiple induction variables.
This fixes PR714.

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

17 years agoWhen both x/y and x%y are needed (x and y both scalar integer), compute
Dan Gohman [Tue, 25 Sep 2007 18:23:27 +0000 (18:23 +0000)]
When both x/y and x%y are needed (x and y both scalar integer), compute
both results with a single div or idiv instruction. This uses new X86ISD
nodes for DIV and IDIV which are introduced during the legalize phase
so that the SelectionDAG's CSE can automatically eliminate redundant
computations.

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

17 years agoDo not reserve DOM check for GetElementPtrInst.
Devang Patel [Tue, 25 Sep 2007 17:55:50 +0000 (17:55 +0000)]
Do not reserve DOM check for GetElementPtrInst.

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

17 years agoSome tests for APFloat conversions.
Dale Johannesen [Tue, 25 Sep 2007 17:50:55 +0000 (17:50 +0000)]
Some tests for APFloat conversions.

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

17 years agoForgot to check in the changes. Fix test case so it doesn't break with any scheduling...
Evan Cheng [Tue, 25 Sep 2007 17:47:38 +0000 (17:47 +0000)]
Forgot to check in the changes. Fix test case so it doesn't break with any scheduling changes.

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

17 years agodoh..
Devang Patel [Tue, 25 Sep 2007 17:43:08 +0000 (17:43 +0000)]
doh..

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

17 years agoAdd transformation to update loop interation space. Now,
Devang Patel [Tue, 25 Sep 2007 17:31:19 +0000 (17:31 +0000)]
Add transformation to update loop interation space. Now,
for (i=A; i<N; i++) {
  if (i < X && i > Y)
    do_something();
}

is transformed into

U=min(N,X); L=max(A,Y);
for (i=L;i<U;i++)
  do_somethihg();

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

17 years agoFix long double<->shorter FP type conversions
Dale Johannesen [Tue, 25 Sep 2007 17:25:00 +0000 (17:25 +0000)]
Fix long double<->shorter FP type conversions
of zero, infinity, and NaNs.

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

17 years agoMove the setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand) and
Dan Gohman [Tue, 25 Sep 2007 15:10:49 +0000 (15:10 +0000)]
Move the setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand) and
the check to see if the assembler supports .loc from X86TargetLowering
into the superclass TargetLowering.

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

17 years agoFix spelling.
Duncan Sands [Tue, 25 Sep 2007 13:53:22 +0000 (13:53 +0000)]
Fix spelling.

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

17 years agoAdd missing end-of-file newlines.
Duncan Sands [Tue, 25 Sep 2007 07:10:01 +0000 (07:10 +0000)]
Add missing end-of-file newlines.

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

17 years agoFill in the sections about my contributions.
Owen Anderson [Tue, 25 Sep 2007 02:10:58 +0000 (02:10 +0000)]
Fill in the sections about my contributions.

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

17 years agoAdded support for new condition code modeling scheme (i.e. physical register dependen...
Evan Cheng [Tue, 25 Sep 2007 01:57:46 +0000 (01:57 +0000)]
Added support for new condition code modeling scheme (i.e. physical register dependency). These are a bunch of instructions that are duplicated so the x86 backend can support both the old and new schemes at the same time. They will be deleted after
all the kinks are worked out.

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

17 years agoAdded major new capabilities to scheduler (only BURR for now) to support physical...
Evan Cheng [Tue, 25 Sep 2007 01:54:36 +0000 (01:54 +0000)]
Added major new capabilities to scheduler (only BURR for now) to support physical register dependency. The BURR scheduler can now backtrace and duplicate instructions in order to avoid "expensive / impossible to copy" values (e.g. status flag EFLAGS for x86) from being clobbered.

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

17 years agoNew temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.
Evan Cheng [Tue, 25 Sep 2007 01:50:04 +0000 (01:50 +0000)]
New temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.

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

17 years agoRename keyword "modify" -> "implicit".
Evan Cheng [Tue, 25 Sep 2007 01:48:59 +0000 (01:48 +0000)]
Rename keyword "modify" -> "implicit".

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

17 years agoWhen mixing SSE and x87 codegen, it's possible to
Dale Johannesen [Mon, 24 Sep 2007 22:52:39 +0000 (22:52 +0000)]
When mixing SSE and x87 codegen, it's possible to
have situations where an SSE instruction turns into
multiple blocks, with the live range of an x87
register crossing them.  To do this correctly make
sure we examine all blocks when inserting
FP_REG_KILL.  PR 1697.  (This was exposed by my
fix for PR 1681, but the same thing could happen
mixing x87 long double with SSE.)

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

17 years agoDon't execute dump unless NDEBUG isn't defined.
Bill Wendling [Mon, 24 Sep 2007 22:43:48 +0000 (22:43 +0000)]
Don't execute dump unless NDEBUG isn't defined.

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

17 years agoComment fixups
Daniel Berlin [Mon, 24 Sep 2007 22:20:45 +0000 (22:20 +0000)]
Comment fixups

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

17 years agoAdd support on x86 for having Legalize lower ISD::LOCATION to ISD::DEBUG_LOC
Dan Gohman [Mon, 24 Sep 2007 21:54:14 +0000 (21:54 +0000)]
Add support on x86 for having Legalize lower ISD::LOCATION to ISD::DEBUG_LOC
instead of ISD::LABEL with a manual .debug_line entry when the assembler
supports .file and .loc directives.

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

17 years agoDon't emit .debug_line header data if there aren't any lines to put in it,
Dan Gohman [Mon, 24 Sep 2007 21:43:52 +0000 (21:43 +0000)]
Don't emit .debug_line header data if there aren't any lines to put in it,
such as will happen when .loc directives are used.

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

17 years agoMove the Asm->EOL() call for EmitDebugARanges outside the #ifdef for
Dan Gohman [Mon, 24 Sep 2007 21:36:21 +0000 (21:36 +0000)]
Move the Asm->EOL() call for EmitDebugARanges outside the #ifdef for
consistency with the other currently empty sections.

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

17 years agoAdd support for emitting .file directives to set up file numbers for
Dan Gohman [Mon, 24 Sep 2007 21:32:18 +0000 (21:32 +0000)]
Add support for emitting .file directives to set up file numbers for
use with .loc directives.

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

17 years agoMerge hasDotLoc and hasDotFile into hasDotLocAndDotFile since .loc and .file
Dan Gohman [Mon, 24 Sep 2007 21:09:53 +0000 (21:09 +0000)]
Merge hasDotLoc and hasDotFile into hasDotLocAndDotFile since .loc and .file
aren't really usable without each other.

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

17 years agofloat->int conversion rounds toward 0. Duh.
Dale Johannesen [Mon, 24 Sep 2007 21:06:09 +0000 (21:06 +0000)]
float->int conversion rounds toward 0.  Duh.
Fixes PR1698.

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

17 years agoAdd a routine for emitting .file directives, for setting up
Dan Gohman [Mon, 24 Sep 2007 20:58:13 +0000 (20:58 +0000)]
Add a routine for emitting .file directives, for setting up
file numbers to use with .loc directives.

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

17 years agoAdded "LoadEffective" pattern to handle stack locations.
Bruno Cardoso Lopes [Mon, 24 Sep 2007 20:15:11 +0000 (20:15 +0000)]
Added "LoadEffective" pattern to handle stack locations.
Fixed some comments

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

17 years ago Do not promote null values because it may be unsafe to do so.
Devang Patel [Mon, 24 Sep 2007 20:02:42 +0000 (20:02 +0000)]
 Do not promote null values because it may be unsafe to do so.

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

17 years agoImplement offline variable substitution in order to reduce memory
Daniel Berlin [Mon, 24 Sep 2007 19:45:49 +0000 (19:45 +0000)]
Implement offline variable substitution in order to reduce memory
and time usage.
Fixup operator == to make this work, and add a resize method to DenseMap
so we can resize our hashtable once we know how big it should be.

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

17 years agoFix the syntax for the .loc directive in preparation for using it.
Dan Gohman [Mon, 24 Sep 2007 19:25:06 +0000 (19:25 +0000)]
Fix the syntax for the .loc directive in preparation for using it.

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

17 years agoAdd section on bit containers.
Daniel Berlin [Mon, 24 Sep 2007 17:52:25 +0000 (17:52 +0000)]
Add section on bit containers.
(Not the most well written stuff in the universe :P)

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

17 years agoXFAIL for llvm-gcc4.0
Tanya Lattner [Mon, 24 Sep 2007 17:14:53 +0000 (17:14 +0000)]
XFAIL for llvm-gcc4.0

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

17 years agoThe code that used the StartLabelId label was removed, so remove the
Dan Gohman [Mon, 24 Sep 2007 16:44:26 +0000 (16:44 +0000)]
The code that used the StartLabelId label was removed, so remove the
code that creates the label too.

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

17 years agoUse the correct result value type instead of using getValueType(0)
Dan Gohman [Mon, 24 Sep 2007 15:54:53 +0000 (15:54 +0000)]
Use the correct result value type instead of using getValueType(0)
in ExpandEXTRACT_VECTOR_ELT and SplitVectorOp. This fixes an abort
in the included testcase.

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

17 years agoFix a typo in a comment.
Dan Gohman [Mon, 24 Sep 2007 15:50:11 +0000 (15:50 +0000)]
Fix a typo in a comment.

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

17 years agoexplicit keywords.
Dan Gohman [Mon, 24 Sep 2007 15:48:49 +0000 (15:48 +0000)]
explicit keywords.

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

17 years agoRemove an unnecessary static_cast.
Dan Gohman [Mon, 24 Sep 2007 15:46:02 +0000 (15:46 +0000)]
Remove an unnecessary static_cast.

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

17 years agoclaim that "st" is from the 80-bit register file. This causes x87-using inline
Chris Lattner [Mon, 24 Sep 2007 05:27:37 +0000 (05:27 +0000)]
claim that "st" is from the 80-bit register file.  This causes x87-using inline
asm to die with:

ScheduleDAG.cpp:269: failed assertion `false && "Couldn't find the register class"'

instead of:
failed assertion `RegMap->getRegClass(VReg) == RC && "Register class of operand and regclass of use don't agree!"'

yay.

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

17 years agoWhen emitting .set directives, make sure the EH and Debug labels can't conflict.
Chris Lattner [Mon, 24 Sep 2007 03:35:37 +0000 (03:35 +0000)]
When emitting .set directives, make sure the EH and Debug labels can't conflict.

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

17 years agoFix typo.
Owen Anderson [Mon, 24 Sep 2007 02:33:22 +0000 (02:33 +0000)]
Fix typo.

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

17 years agoMerge significant portions of the DomTree and PostDomTree implementations.
Owen Anderson [Mon, 24 Sep 2007 02:29:29 +0000 (02:29 +0000)]
Merge significant portions of the DomTree and PostDomTree implementations.
The two remaining unmerged parts are DFSPass, and the Calculate().

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

17 years agoJust use APFloat for const / const. Fixes
Dale Johannesen [Mon, 24 Sep 2007 00:32:45 +0000 (00:32 +0000)]
Just use APFloat for const / const.  Fixes
-1. / -0.

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

17 years agoFactor the calculation details for PostDomTree out of PostDominators.cpp and
Owen Anderson [Sun, 23 Sep 2007 22:21:00 +0000 (22:21 +0000)]
Factor the calculation details for PostDomTree out of PostDominators.cpp and
into a separate header file.

Next step: merging PostDominatorCalculation.h with DominatorCalculation.h.

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

17 years agoMove DFSPass back down into DominatorTree. I need to figure out what the difference...
Owen Anderson [Sun, 23 Sep 2007 22:16:38 +0000 (22:16 +0000)]
Move DFSPass back down into DominatorTree.  I need to figure out what the difference is between it
and the PostDomTree version first.

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

17 years agoFix header.
Owen Anderson [Sun, 23 Sep 2007 21:32:55 +0000 (21:32 +0000)]
Fix header.

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

17 years agoFactor the dominator tree calculation details out into DominatorCalculation.h. This
Owen Anderson [Sun, 23 Sep 2007 21:31:44 +0000 (21:31 +0000)]
Factor the dominator tree calculation details out into DominatorCalculation.h.  This
change is not useful in and of itself, but it lays the groundwork for combining
the dominator and postdominator implementations.

Also, factor a few methods that are common to DominatorTree and PostDominatorTree
into DominatorTreeBase.  Again, this will make merging the two calculation methods
simpler in the future.

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

17 years agoImplementation of +sse -sse2 has changed; add
Dale Johannesen [Sun, 23 Sep 2007 14:58:14 +0000 (14:58 +0000)]
Implementation of +sse -sse2 has changed; add
-sse to preserve intent of this test.

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

17 years agoFix PR 1681. When X86 target uses +sse -sse2,
Dale Johannesen [Sun, 23 Sep 2007 14:52:20 +0000 (14:52 +0000)]
Fix PR 1681.  When X86 target uses +sse -sse2,
keep f32 in SSE registers and f64 in x87.  This
is effectively a new codegen mode.
Change addLegalFPImmediate to permit float and
double variants to do different things.
Adjust callers.

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

17 years agoFix srcdir <> objdir builds with ocaml 2.10. Downrev versions don't care whether
Gordon Henriksen [Sun, 23 Sep 2007 13:37:44 +0000 (13:37 +0000)]
Fix srcdir <> objdir builds with ocaml 2.10. Downrev versions don't care whether
'dir' exists in 'ocamldep -I dir ...', but recent ones demand that it actually
exists.

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

17 years agofix syntax
Chris Lattner [Sat, 22 Sep 2007 23:41:15 +0000 (23:41 +0000)]
fix syntax

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

17 years agoRegenerate.
Gordon Henriksen [Sat, 22 Sep 2007 21:36:59 +0000 (21:36 +0000)]
Regenerate.

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

17 years agoFix for srcdir <> objdir builds.
Gordon Henriksen [Sat, 22 Sep 2007 21:36:22 +0000 (21:36 +0000)]
Fix for srcdir <> objdir builds.

Thanks Bill.

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

17 years agoFix PR1679, by printing GEP indices as signed values instead of unsigned.
Chris Lattner [Sat, 22 Sep 2007 20:16:48 +0000 (20:16 +0000)]
Fix PR1679, by printing GEP indices as signed values instead of unsigned.

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 10:17:08 +0000 (10:17 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 10:13:39 +0000 (10:13 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 10:07:00 +0000 (10:07 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 10:03:25 +0000 (10:03 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 09:56:28 +0000 (09:56 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 09:54:47 +0000 (09:54 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 09:39:19 +0000 (09:39 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 09:23:55 +0000 (09:23 +0000)]
Validation fixes

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

17 years agoValidation fixes
Bill Wendling [Sat, 22 Sep 2007 09:20:07 +0000 (09:20 +0000)]
Validation fixes

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

17 years agoFormatting changes.
Bill Wendling [Sat, 22 Sep 2007 09:16:44 +0000 (09:16 +0000)]
Formatting changes.

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

17 years agoinitialize isstore/isload fields in ctor, fixing PR1695
Chris Lattner [Sat, 22 Sep 2007 07:02:12 +0000 (07:02 +0000)]
initialize isstore/isload fields in ctor, fixing PR1695

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

17 years agofix bugs in the manual
Chris Lattner [Sat, 22 Sep 2007 03:17:52 +0000 (03:17 +0000)]
fix bugs in the manual

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

17 years agoHandle storage complications of float->float conversions.
Neil Booth [Sat, 22 Sep 2007 02:56:19 +0000 (02:56 +0000)]
Handle storage complications of float->float conversions.

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

17 years agoCorrect names.
Tanya Lattner [Sat, 22 Sep 2007 00:03:01 +0000 (00:03 +0000)]
Correct names.

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

17 years agoFix typo.
Tanya Lattner [Sat, 22 Sep 2007 00:01:26 +0000 (00:01 +0000)]
Fix typo.

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

17 years agoOne last fix to get name correct.
Tanya Lattner [Fri, 21 Sep 2007 23:57:59 +0000 (23:57 +0000)]
One last fix to get name correct.

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

17 years agoFix silly typo.
Tanya Lattner [Fri, 21 Sep 2007 23:57:04 +0000 (23:57 +0000)]
Fix silly typo.

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

17 years agoUpdate annotation intrinsic with more details.
Tanya Lattner [Fri, 21 Sep 2007 23:56:27 +0000 (23:56 +0000)]
Update annotation intrinsic with more details.

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

17 years agoAdding support for __builtin_annotation with an intrinsic called llvm.annotation...
Tanya Lattner [Fri, 21 Sep 2007 22:59:12 +0000 (22:59 +0000)]
Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions.

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

17 years agoChange APFloat::convertFromInteger to take the incoming
Dale Johannesen [Fri, 21 Sep 2007 22:09:37 +0000 (22:09 +0000)]
Change APFloat::convertFromInteger to take the incoming
bit width instead of number of words allocated, which
makes it actually work for int->APF conversions.
Adjust callers.  Add const to one of the APInt constructors
to prevent surprising match when called with const
argument.

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

17 years agoFix PR1692
Devang Patel [Fri, 21 Sep 2007 21:18:19 +0000 (21:18 +0000)]
Fix PR1692

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

17 years agoFix CopyFrom for non-POD data types.
Owen Anderson [Fri, 21 Sep 2007 20:55:54 +0000 (20:55 +0000)]
Fix CopyFrom for non-POD data types.

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

17 years ago#ifdef out unsafe tracing code, which fixes PR1689
Chris Lattner [Fri, 21 Sep 2007 18:30:39 +0000 (18:30 +0000)]
#ifdef out unsafe tracing code, which fixes PR1689

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

17 years agodon't read Block after it is freed. This fixes PR1684
Chris Lattner [Fri, 21 Sep 2007 18:25:53 +0000 (18:25 +0000)]
don't read Block after it is freed.  This fixes PR1684

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

17 years agoAdd missing entry.
Devang Patel [Fri, 21 Sep 2007 18:02:24 +0000 (18:02 +0000)]
Add missing entry.

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

17 years agogcroot testcase, patch by Eric Christopher.
Chris Lattner [Fri, 21 Sep 2007 17:48:39 +0000 (17:48 +0000)]
gcroot testcase, patch by Eric Christopher.

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

17 years agoI cannot spell coalesce :)
Chris Lattner [Fri, 21 Sep 2007 17:43:52 +0000 (17:43 +0000)]
I cannot spell coalesce :)

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

17 years agogcroot must take concrete types, not arbitrary types.
Chris Lattner [Fri, 21 Sep 2007 17:30:40 +0000 (17:30 +0000)]
gcroot must take concrete types, not arbitrary types.
clean up intrinsic descriptions in langref a bit.

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

17 years agoinitialize SetCCResultContents, fixing PR1693
Chris Lattner [Fri, 21 Sep 2007 17:06:39 +0000 (17:06 +0000)]
initialize SetCCResultContents, fixing PR1693

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

17 years agoDon't add a default STACK_ALIGN (use the generic ABI alignment)
Rafael Espindola [Fri, 21 Sep 2007 15:50:22 +0000 (15:50 +0000)]
Don't add a default STACK_ALIGN (use the generic ABI alignment)
Implement calls to functions with byval arguments on X86

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

17 years agoThere is no {rsqrt,rcp}{p,s}d.
Dan Gohman [Fri, 21 Sep 2007 15:24:00 +0000 (15:24 +0000)]
There is no {rsqrt,rcp}{p,s}d.

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

17 years agosmall cleanup: use LowerMemArgument in LowerFastCCArguments also
Rafael Espindola [Fri, 21 Sep 2007 14:55:38 +0000 (14:55 +0000)]
small cleanup: use LowerMemArgument in LowerFastCCArguments also

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

17 years agoInitial hack at 2.1 release notes.
Chris Lattner [Fri, 21 Sep 2007 03:54:09 +0000 (03:54 +0000)]
Initial hack at 2.1 release notes.

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

17 years agoAdd partial caching of non-local memory dependence queries. This provides a modest
Owen Anderson [Fri, 21 Sep 2007 03:53:52 +0000 (03:53 +0000)]
Add partial caching of non-local memory dependence queries.  This provides a modest
speedup for GVN.

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

17 years agoHonor user-defined section specification of a global, ignores whether its initializer...
Evan Cheng [Fri, 21 Sep 2007 00:41:19 +0000 (00:41 +0000)]
Honor user-defined section specification of a global, ignores whether its initializer is null.

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

17 years agoFix PR 1688. See comments there.
Dale Johannesen [Thu, 20 Sep 2007 23:47:58 +0000 (23:47 +0000)]
Fix PR 1688.  See comments there.

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

17 years agoUpdate aux. info associated with an instruction before erasing instruction.
Devang Patel [Thu, 20 Sep 2007 23:45:50 +0000 (23:45 +0000)]
Update aux. info associated with an instruction before erasing instruction.

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

17 years agoDo not override user specified section.
Devang Patel [Thu, 20 Sep 2007 23:07:37 +0000 (23:07 +0000)]
Do not override user specified section.

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

17 years agoDon't increment invalid iterator.
Devang Patel [Thu, 20 Sep 2007 23:01:50 +0000 (23:01 +0000)]
Don't increment invalid iterator.

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

17 years agoTestcase for PR1678.
Duncan Sands [Thu, 20 Sep 2007 18:56:24 +0000 (18:56 +0000)]
Testcase for PR1678.

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

17 years agoDisable if-conversion for this test.
Evan Cheng [Thu, 20 Sep 2007 18:06:22 +0000 (18:06 +0000)]
Disable if-conversion for this test.

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

17 years ago-enable-arm-if-conversion is gone.
Evan Cheng [Thu, 20 Sep 2007 18:03:23 +0000 (18:03 +0000)]
-enable-arm-if-conversion is gone.

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

17 years agoFix dumb regression in constant folding (Regression/C/casts)
Dale Johannesen [Thu, 20 Sep 2007 16:50:21 +0000 (16:50 +0000)]
Fix dumb regression in constant folding (Regression/C/casts)

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

17 years agoRegenerate.
Gordon Henriksen [Thu, 20 Sep 2007 16:48:18 +0000 (16:48 +0000)]
Regenerate.

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

17 years agoIncorporating review feedback for GC verifier patch.
Gordon Henriksen [Thu, 20 Sep 2007 16:47:41 +0000 (16:47 +0000)]
Incorporating review feedback for GC verifier patch.

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

17 years agoFix several more entries in the x86 reload/remat folding tables.
Dan Gohman [Thu, 20 Sep 2007 14:17:21 +0000 (14:17 +0000)]
Fix several more entries in the x86 reload/remat folding tables.

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