Duncan Sands [Sun, 1 Mar 2009 15:01:51 +0000 (15:01 +0000)]
Adjust this test for recent llvm-gcc changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65771
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sun, 1 Mar 2009 09:51:07 +0000 (09:51 +0000)]
Fix grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65769
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Sun, 1 Mar 2009 09:45:52 +0000 (09:45 +0000)]
fix a comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65768
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Sun, 1 Mar 2009 09:43:41 +0000 (09:43 +0000)]
Fix a typo. Thanks baldrick!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65767
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sun, 1 Mar 2009 09:38:29 +0000 (09:38 +0000)]
First pass at a document describing how to achieve LTO on Linux with gold.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65766
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Sun, 1 Mar 2009 08:26:19 +0000 (08:26 +0000)]
Another point to mention.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65765
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sun, 1 Mar 2009 03:55:12 +0000 (03:55 +0000)]
Temporarily revert r65755. It was causing failures in the self-hosting
testsuite:
Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/dg.exp ...
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/nancvt.ll
Failed with exit(1) at line 2
while running: grep
2147027116 nancvt.ll.tmp | count 3
count: expected 3 lines and got 0.
child process exited abnormally
FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll
Failed with exit(1) at line 1
while running: llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/CodeGen/X86/vec_ins_extract.ll | opt -scalarrepl -instcombine | llc -march=x86 -mcpu=yonah | not /usr/bin/grep sub.*esp
subl $28, %esp
subl $28, %esp
child process exited abnormally
And more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65758
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 02:30:21 +0000 (02:30 +0000)]
add some llvmc notes from Mikhail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65756
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 02:26:47 +0000 (02:26 +0000)]
hoist the check for alloca size up so that it controls CanConvertToScalar
as well as isSafeAllocaToScalarRepl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65755
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sun, 1 Mar 2009 02:03:43 +0000 (02:03 +0000)]
Minor optimization:
Look for situations like this:
%reg1024<def> = MOV r1
%reg1025<def> = MOV r0
%reg1026<def> = ADD %reg1024, %reg1025
r0 = MOV %reg1026
Commute the ADD to hopefully eliminate an otherwise unavoidable copy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65752
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 01:28:40 +0000 (01:28 +0000)]
tweak this to accept asmprinter changes. I have no way to verify this, hopefully
the buildbot will work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65750
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 01:16:21 +0000 (01:16 +0000)]
simplify handling "don't print top level name" processing, so that we get
stuff like %A = type { %A*} instead of an upref.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65748
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Sun, 1 Mar 2009 01:13:55 +0000 (01:13 +0000)]
Combine PPC's GetConstantBuildVectorBits and isConstantSplat functions to a new
method in a BuildVectorSDNode "pseudo-class".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65747
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 00:53:13 +0000 (00:53 +0000)]
Fix a pretty awesome bug that only happened in a strange case with anonymous
types. This was reading the uint for the keyword after the token was advanced.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65743
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 00:32:33 +0000 (00:32 +0000)]
walk type symbol table also, so we get:
type opaque ; type %0
%C = type { %0, %0 }
instead of:
%C = type { opaque, opaque }
when appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65742
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 00:26:51 +0000 (00:26 +0000)]
adjust for asmprinter change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65741
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 00:25:46 +0000 (00:25 +0000)]
adjust for asmprinter change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65740
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 00:24:40 +0000 (00:24 +0000)]
adjust test to make it more robust
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65739
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 1 Mar 2009 00:03:38 +0000 (00:03 +0000)]
Fix a long-standing bug and misfeature of the disassembler: when dealing with a
stripped .bc file, it didn't make any attempt to try to reuse anonymous types.
This causes an amazing type explosion due to types getting duplicated everywhere
they are referenced and other problems.
This also caused correctness issues, because opaque types are unique for each time
they are uttered in the file. This means that stripping a .bc file could produce
a .ll file that could not be assembled (e.g. 2009-02-28-StripOpaqueName.ll).
This patch fixes both of these issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65738
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 23:20:19 +0000 (23:20 +0000)]
move type name population out of TypePrinting class into a static
AsmWriter.cpp method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65736
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 23:03:55 +0000 (23:03 +0000)]
switch to densemap for pointer->word map.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65735
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 23:01:57 +0000 (23:01 +0000)]
delete a bunch of duplicated type printing logic, using the type printing
stuff in AsmWriter.cpp for Type::getDescription().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65734
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 23:01:30 +0000 (23:01 +0000)]
make this work when constructed with a null module*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65733
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Sat, 28 Feb 2009 22:46:37 +0000 (22:46 +0000)]
add description how the ilist_traits<Instruction> works
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65732
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 22:41:33 +0000 (22:41 +0000)]
the module is not required to exist, allow it to default, giving this
class a nice default ctor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65731
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 22:35:24 +0000 (22:35 +0000)]
disable copying and assignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65730
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 22:34:45 +0000 (22:34 +0000)]
expose TypePrinting as a public API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65729
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 22:20:02 +0000 (22:20 +0000)]
one less space, fixes failure with rebuilt llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65728
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 28 Feb 2009 22:12:54 +0000 (22:12 +0000)]
Fix grammaro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65727
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 21:27:31 +0000 (21:27 +0000)]
rename 'Result' to 'OS' in CalcTypeName for consistency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65724
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 21:26:53 +0000 (21:26 +0000)]
do not embed the raw_ostream into TypePrinting, pass it as an argument to print etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65723
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 21:18:43 +0000 (21:18 +0000)]
stop calling Type::getDescription().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65722
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 21:11:05 +0000 (21:11 +0000)]
simplifications
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65721
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 21:05:51 +0000 (21:05 +0000)]
Change WriteTypeSymbolic to not put a space out before types, also, remove
the old std::ostream version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65720
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 20:49:40 +0000 (20:49 +0000)]
make CalcTypeName take a stream instead of a string to concat onto,
eliminate redundant opaque handling code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65716
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 20:40:29 +0000 (20:40 +0000)]
remove a bunch of nearly-duplicated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65715
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 20:35:42 +0000 (20:35 +0000)]
fix indentation, remove dead integer case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65714
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 20:34:19 +0000 (20:34 +0000)]
pull calcTypeName into TypePrinting class, make its type stack
be a smallvector instead of vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65713
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 20:31:14 +0000 (20:31 +0000)]
inline method into its only use and simplify the result.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65712
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 20:28:50 +0000 (20:28 +0000)]
simplify condition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65711
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 20:25:14 +0000 (20:25 +0000)]
start refactoring the .ll printer: introduce a new TypePrinting class
and move all related stuff to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65710
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 18:58:01 +0000 (18:58 +0000)]
add a stub for Roadsend PHP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65705
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 18:32:25 +0000 (18:32 +0000)]
don't use the word 'aggregate' with constants, it is confusing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65702
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 18:27:03 +0000 (18:27 +0000)]
don't redescribe bitcast constraints in two places. It is not valid to
bitcast from one aggregate to another.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65700
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 28 Feb 2009 18:12:41 +0000 (18:12 +0000)]
reject 0 element vectors with:
@a = internal constant void bitcast(<0 x i8> <> to void)
^
Fixes PR3685
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65698
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sat, 28 Feb 2009 17:30:06 +0000 (17:30 +0000)]
Update this text for first-class aggregates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65697
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 28 Feb 2009 12:26:34 +0000 (12:26 +0000)]
Fix typo. Found by William Moss.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65693
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Sat, 28 Feb 2009 12:11:01 +0000 (12:11 +0000)]
There is a way to specify targets that should succeed. It's the "XTARGET"
keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65692
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Sat, 28 Feb 2009 10:17:32 +0000 (10:17 +0000)]
make traits more flexible by splitting out node-related fragment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65690
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 28 Feb 2009 06:02:14 +0000 (06:02 +0000)]
Last commit accidentially deleted this code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65679
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 28 Feb 2009 01:10:24 +0000 (01:10 +0000)]
Avoid unused parameter warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65670
91177308-0d34-0410-b5e6-
96231b3b80d8
Stuart Hastings [Sat, 28 Feb 2009 00:56:37 +0000 (00:56 +0000)]
Unable to say "TARGET: *-*-darwin*"; falling back to "XFAIL: linux,ia64,alpha,sparc".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65667
91177308-0d34-0410-b5e6-
96231b3b80d8
Mon P Wang [Sat, 28 Feb 2009 00:25:30 +0000 (00:25 +0000)]
Added another darwin subtarget
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65662
91177308-0d34-0410-b5e6-
96231b3b80d8
Stuart Hastings [Fri, 27 Feb 2009 22:35:12 +0000 (22:35 +0000)]
Testcase to insure C strings go to the cstring
section. Darwin-specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65655
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 27 Feb 2009 18:05:21 +0000 (18:05 +0000)]
It is possible that subprgoram definition is only encoding return value directly, instsad of an DIArray of all argument types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65643
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 27 Feb 2009 15:46:23 +0000 (15:46 +0000)]
group friendship
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65633
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Fri, 27 Feb 2009 13:37:18 +0000 (13:37 +0000)]
Refactor TLS code and add some tests. The tests and expected results are:
pic | declaration | linkage | visibility |
!pic | declaration | external | default | tls1.ll tls2.ll | local exec
pic | declaration | external | default | tls1-pic.ll tls2-pic.ll | general dynamic
!pic | !declaration | external | default | tls3.ll tls4.ll | initial exec
pic | !declaration | external | default | tls3-pic.ll tls4-pic.ll | general dynamic
!pic | declaration | external | hidden | tls7.ll tls8.ll | local exec
pic | declaration | external | hidden | X | local dynamic
!pic | !declaration | external | hidden | tls9.ll tls10.ll | local exec
pic | !declaration | external | hidden | X | local dynamic
!pic | declaration | internal | default | tls5.ll tls6.ll | local exec
pic | declaration | internal | default | X | local dynamic
The ones marked with an X have not been implemented since local dynamic is not implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65632
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 27 Feb 2009 13:28:07 +0000 (13:28 +0000)]
document ilist_traits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65631
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 27 Feb 2009 12:02:19 +0000 (12:02 +0000)]
Expand a bit on iplist. If you are more expert on this class, please review!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65630
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 27 Feb 2009 11:37:41 +0000 (11:37 +0000)]
update ilist documentation and add some blurb on ilist_node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65629
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 27 Feb 2009 11:28:46 +0000 (11:28 +0000)]
update year
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65628
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 27 Feb 2009 09:33:37 +0000 (09:33 +0000)]
fix comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65627
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Fri, 27 Feb 2009 08:41:37 +0000 (08:41 +0000)]
Introduce a new technique for merging BasicBlock with Instruction sentinel by superposition.
This looks dangerous, but isn't because the sentinel is accessed in special way only,
namely the Next and Prev fields of it, and these are guaranteed to exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65626
91177308-0d34-0410-b5e6-
96231b3b80d8
Ted Kremenek [Fri, 27 Feb 2009 07:01:32 +0000 (07:01 +0000)]
Update release notes for static analyzer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65624
91177308-0d34-0410-b5e6-
96231b3b80d8
Mikhail Glushenkov [Fri, 27 Feb 2009 06:46:55 +0000 (06:46 +0000)]
'append_cmd' should split its argument.
Makes '(append_cmd "-foo a b c")' work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65623
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Fri, 27 Feb 2009 06:37:39 +0000 (06:37 +0000)]
Silence compiler warning about use of uninitialized variables (in reality these
are always set by reference on the path that uses them.) No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65621
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Fri, 27 Feb 2009 06:29:31 +0000 (06:29 +0000)]
Fix compiler warning about uninitialized variables. No functional change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65620
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Fri, 27 Feb 2009 00:56:35 +0000 (00:56 +0000)]
Alignment values for i64 and f64 on ppc64 were wrong,
possibly for the reason suggested by the comment.
No wonder it didn't work very well. This unblocks
bootstrap with assertions on ppc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65601
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 27 Feb 2009 00:51:50 +0000 (00:51 +0000)]
Make sure this test passes on linux-ppc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65600
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 27 Feb 2009 00:20:19 +0000 (00:20 +0000)]
Update another test for the LoopInfo::print changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65598
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 27 Feb 2009 00:17:49 +0000 (00:17 +0000)]
Update this test for the LoopInfo::print changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65597
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 27 Feb 2009 00:05:54 +0000 (00:05 +0000)]
Make LoopInfo::print() identify header, exit, and latch blocks,
and print the loop depth.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65593
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 27 Feb 2009 00:02:22 +0000 (00:02 +0000)]
MachineLICM CSE should match destination register classes; avoid hoisting implicit_def's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65592
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 22:33:38 +0000 (22:33 +0000)]
drop some un-edited text for pure and ldc in here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65579
91177308-0d34-0410-b5e6-
96231b3b80d8
Gabor Greif [Thu, 26 Feb 2009 19:37:54 +0000 (19:37 +0000)]
remove deleteNode definition, it is inherited in an identical fashion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65565
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 19:19:26 +0000 (19:19 +0000)]
make sure that make fully evaluates variables when determining how compile_c and
friends should work. This fixes 2006-11-30-Pubnames.cpp and friends on darwin
with the new -mmacosx-version-min change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65564
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 19:08:30 +0000 (19:08 +0000)]
Fix universal builds to not use -XCClinker (a libtool thing) now that
libtool doesn't exist.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65561
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 19:02:23 +0000 (19:02 +0000)]
these utils don't need exports.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65559
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 19:01:11 +0000 (19:01 +0000)]
disable exports from a bunch more tools, those without plugins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65558
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 18:38:40 +0000 (18:38 +0000)]
no really, use the right path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65554
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 18:37:59 +0000 (18:37 +0000)]
Search for the export map in a place that it can be found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65552
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 18:29:42 +0000 (18:29 +0000)]
use TOOL_NO_EXPORTS, this shrinks the llvm-as binary from
1825296 to
1662184 bytes (~10%)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65551
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 17:47:49 +0000 (17:47 +0000)]
strip exported symbols from tools that build with TOOL_NO_EXPORTS=1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65543
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 17:44:38 +0000 (17:44 +0000)]
pass -mmacosx-version-min to the compiler and linker, which makes the build
substantially happier on some versions of Mac OS/X.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65542
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 26 Feb 2009 15:17:13 +0000 (15:17 +0000)]
Another great year for LLVM!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65530
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 26 Feb 2009 09:08:43 +0000 (09:08 +0000)]
Tabs to spaces presto chango! Pointed out by Duncan Sands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65523
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 26 Feb 2009 08:48:14 +0000 (08:48 +0000)]
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65521
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 26 Feb 2009 08:03:36 +0000 (08:03 +0000)]
Fix typo!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65520
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 26 Feb 2009 07:56:49 +0000 (07:56 +0000)]
Force 'llvm-config' to go first, optionally followed by lto and gold mixed in
with the rest of the parallel directories.
Build lto when possible on all platforms. Make gold to explicitly depend on
libLTO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65518
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 26 Feb 2009 07:44:16 +0000 (07:44 +0000)]
Remove libtool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65517
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 07:32:11 +0000 (07:32 +0000)]
pic16 notes from Sanjiv. Just dumped in for now, will rearrange later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65512
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 07:29:17 +0000 (07:29 +0000)]
final random and incoherent notes after making it through all the commits.
Next step: making them more coherent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65511
91177308-0d34-0410-b5e6-
96231b3b80d8
Zhou Sheng [Thu, 26 Feb 2009 06:56:37 +0000 (06:56 +0000)]
Ignore dbg info intrinsics when folding conditional branch to
conditional branch predecessors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65509
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Thu, 26 Feb 2009 06:56:16 +0000 (06:56 +0000)]
Add the function attributes pass during LTO time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65508
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 06:47:09 +0000 (06:47 +0000)]
more notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65507
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 26 Feb 2009 05:20:36 +0000 (05:20 +0000)]
add some notes from Nicolas G.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65503
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 26 Feb 2009 04:47:57 +0000 (04:47 +0000)]
Enable stack slot coloring DCE. Evan's spiller fixes were needed before this could happen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65501
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 26 Feb 2009 03:12:02 +0000 (03:12 +0000)]
ADDS{D|S}rr_Int and MULS{D|S}rr_Int are not commutable. The users of these intrinsics expect the high bits will not be modified.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65499
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 26 Feb 2009 03:02:21 +0000 (03:02 +0000)]
The last commit was overly conservative. It's ok to reuse value that's already marked livein.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65498
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 26 Feb 2009 02:30:42 +0000 (02:30 +0000)]
If an available register falls through to a succ block, unset the last kill. Sorry, it's impossible to reduce a sensible test case. It basically requires the moon and stars to align in order to cause a failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65497
91177308-0d34-0410-b5e6-
96231b3b80d8