Evan Cheng
09fd418106
Add a test case for _Complex passed as a FCA.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57456 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:13:07 +00:00
Chris Lattner
fb97b2dd34
give the static analyzer its own section.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57455 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:11:54 +00:00
Chris Lattner
96a445e3cb
more rearranging.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57453 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 18:01:01 +00:00
Chris Lattner
f6662f9a82
move major changes down.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57452 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:57:36 +00:00
Duncan Sands
bbf379a0f3
Fix typo. Add note on trampoline support.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57450 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:32:15 +00:00
Evan Cheng
a6548d0f29
Clarify meaning of copyRegToReg's return value.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57449 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:30:56 +00:00
Duncan Sands
978bceebb2
Update the Ada part.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57447 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:27:23 +00:00
Chris Lattner
59b5ce4c63
final note.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57446 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 17:12:51 +00:00
Chris Lattner
50ad45c2fb
fix some crazily long lines.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57444 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 16:55:18 +00:00
Matthijs Kooijman
7e6d9b96ad
Make InstructionCombining::getBitCastOperand() recognize GEP instructions and
...
constant expression with all zero indices as being the same as a bitcast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57442 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 15:17:01 +00:00
Matthijs Kooijman
e49d0bc946
Improve the description on the getelementptr instruction. It should now better
...
define what the instruction does. This also makes it clear that getelementptr
can index into a vector type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57440 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 13:44:15 +00:00
Matthijs Kooijman
d9d07780ff
* Make TargetLowering not crash when TargetMachine::getTargetAsmInfo() returns
...
null. This assumes that any target that does not have AsmInfo, does not
support "LocAndDot".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57438 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 12:41:46 +00:00
Matthijs Kooijman
e2b997b7b5
Make MachineFunction not crash when TargetMachine::getRegisterInfo() returns
...
NULL, but just hide some debug output then.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57437 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 12:37:16 +00:00
Gabor Greif
63e0669b8e
fix typo's
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57435 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 10:28:12 +00:00
Gabor Greif
c9f7ef7e7a
remove a deprecated internal interface
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57434 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 10:25:27 +00:00
Gabor Greif
e9324f3605
do not use deprecated interfaces
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57433 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 10:21:17 +00:00
Gabor Greif
5aad9cd02e
ignore the standard output dirs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57432 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 09:38:08 +00:00
Nick Lewycky
cb8f1b5b8b
Disallow the construction of SCEVs with could-not-compute operands. Catch CNCs
...
returned by BinomialCoefficient and don't try to operate with them. This
replaces the previous fix for PR2857.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57431 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 03:58:02 +00:00
Mikhail Glushenkov
49feb455ab
Add whitespace before a parenthesis.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57430 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 02:46:01 +00:00
Mikhail Glushenkov
ea65d7d2a2
Add a note on llvmc2 plugins + remove some trailing whitespace (my Emacs does this automatically).
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57429 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 02:08:34 +00:00
Chris Lattner
44d2a983b7
calls can be supported.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57428 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-13 01:59:13 +00:00
Chris Lattner
cdb0e4caff
more notes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57427 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 22:57:58 +00:00
Dale Johannesen
51b7f8268b
Change TAG_ names to DW_TAG for gcc (testsuite) compatibility.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57425 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 21:23:01 +00:00
Owen Anderson
d55fccde4c
Fix a bug in live-in detection that caused lost-copy problems to show up.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57424 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 20:39:30 +00:00
Chris Lattner
547a3913c5
add some more notes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57423 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 19:47:48 +00:00
Chris Lattner
75d53d6bd0
this was to be removed after 2.4 branched.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57422 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 18:57:09 +00:00
Dale Johannesen
f33ebd2631
Remove "long" variants so these will pass on a 64-bit host.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57418 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 18:40:49 +00:00
Chris Lattner
cce6d4b8e9
add some notes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57416 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 18:30:33 +00:00
Anton Korobeynikov
d21a6305ea
Update size of inst correctly with segment override.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57414 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 10:30:11 +00:00
Owen Anderson
b5cf048fdf
Add special-case code to allow null-guards on calls to malloc.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57413 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 08:10:46 +00:00
Owen Anderson
4b089929b4
Make Escape Analysis work for any pointer.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57412 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 07:33:29 +00:00
Owen Anderson
36b708a318
Add EscapeAnalysis.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57411 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 06:49:21 +00:00
Dale Johannesen
ba0fb07156
Change Dwarf comments starting with AT_ to DW_AT_ to
...
match gcc. Helps with the testsuite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57410 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 06:20:47 +00:00
Owen Anderson
5efff7735d
Fix crashes and infinite loops.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57408 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 06:03:38 +00:00
Owen Anderson
4382f62a05
Duncan convinced me that it's not possible to transform control-based escapes into
...
data-based ones. Just be conservative when analyzing control-based escapes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57400 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-12 03:59:45 +00:00
Chris Lattner
99cbdff66c
fix typo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57388 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 23:59:03 +00:00
Chris Lattner
a6321b40c2
Fix PR2697 by rewriting the '(X / pos) op neg' logic. This also changes
...
a couple other cases for clarity, but shouldn't affect correctness.
Patch by Eli Friedman!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57387 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 22:55:00 +00:00
Chris Lattner
1b8f4bb4a1
update win32 project file, patch provided by OvermindDL1 on llvmdev.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57386 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 22:14:59 +00:00
Chris Lattner
e563bbc312
Change CALLSEQ_BEGIN and CALLSEQ_END to take TargetConstant's as
...
parameters instead of raw Constants. This prevents the constants from
being selected by the isel pass, fixing PR2735.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57385 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 22:08:30 +00:00
Chris Lattner
119c30b955
rearrange some code.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57384 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 22:07:19 +00:00
Chris Lattner
71f95b8531
random cleanup
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57383 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 22:06:50 +00:00
Daniel Dunbar
43778b3859
Add API changes which affected me to release notes:
...
- DbgStopPointInst
- Attributes (needs filling in)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57382 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 21:26:56 +00:00
Duncan Sands
a4bb48adc3
Fix comment typo.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57381 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 19:34:24 +00:00
Anton Korobeynikov
ef93cecd80
Add ability to override segment (mostly for code emitter purposes).
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57380 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 19:09:15 +00:00
Daniel Dunbar
b7dfaf955b
Add GCC 4.1.2 from Debian to known bad GCC list.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57379 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 18:40:33 +00:00
Anton Korobeynikov
0021fc1d97
Note EH stuff for x86-64/linux
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57378 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 18:27:16 +00:00
Anton Korobeynikov
1b4d7a983e
We do support PIC on x86-64/linux
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57377 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 18:27:00 +00:00
Chris Lattner
857fb1309f
Strip out 2.3 info, make space for 2.4 info. I'd appreciate it if
...
various component owners could look through and update their areas
in the known-problems section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57376 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 18:18:28 +00:00
Daniel Dunbar
ce91ec285d
Unbreak DbgStopPointInst::getFileName().
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57373 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 06:40:56 +00:00
Chris Lattner
3c26101669
simplify comparison
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57371 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-11 00:08:02 +00:00