- Mar 02, 2009
-
-
Mikhail Glushenkov authored
llvm-svn: 65827
-
Mikhail Glushenkov authored
llvm-svn: 65826
-
Mikhail Glushenkov authored
User drivers based on llvmc must all share the initialization code. Putting main() into libCompilerDriver is not a very good idea IMO (and ld gave me some strange EH-related error anyway). llvm-svn: 65825
-
Mikhail Glushenkov authored
llvm-svn: 65824
-
Mikhail Glushenkov authored
llvm-svn: 65823
-
Mikhail Glushenkov authored
llvm-svn: 65822
-
Mikhail Glushenkov authored
Move the code from 'llvmc/driver' into a new CompilerDriver library, and change the build system accordingly. Makes it easier for projects using LLVM to build their own llvmc-based drivers. Tested with objdir != srcdir. llvm-svn: 65821
-
Bill Wendling authored
llvm-svn: 65815
-
Bill Wendling authored
llvm-svn: 65813
-
Bill Wendling authored
llvm-svn: 65804
-
Bill Wendling authored
- Verification Fixes. llvm-svn: 65803
-
Gordon Henriksen authored
Also, drop reference to the half-baked runtime interface. llvm-svn: 65802
-
Gordon Henriksen authored
llvm-svn: 65801
-
Chris Lattner authored
llvm-svn: 65800
-
Chris Lattner authored
llvm-svn: 65799
-
Chris Lattner authored
llvm-svn: 65797
-
Nate Begeman authored
extracts + build_vector into a shuffle would fail, because the type of the new build_vector would not be legal. Try harder to create a legal build_vector type. Note: this will be totally irrelevant once vector_shuffle no longer takes a build_vector for shuffle mask. New: _foo: xorps %xmm0, %xmm0 xorps %xmm1, %xmm1 subps %xmm1, %xmm1 mulps %xmm0, %xmm1 addps %xmm0, %xmm1 movaps %xmm1, 0 Old: _foo: xorps %xmm0, %xmm0 movss %xmm0, %xmm1 xorps %xmm2, %xmm2 unpcklps %xmm1, %xmm2 pshufd $80, %xmm1, %xmm1 unpcklps %xmm1, %xmm2 pslldq $16, %xmm2 pshufd $57, %xmm2, %xmm1 subps %xmm0, %xmm1 mulps %xmm0, %xmm1 addps %xmm0, %xmm1 movaps %xmm1, 0 llvm-svn: 65791
-
Chris Lattner authored
llvm-svn: 65790
-
- Mar 01, 2009
-
-
Nick Lewycky authored
llvm-svn: 65789
-
Nick Lewycky authored
anyways. llvm-svn: 65787
-
Nick Lewycky authored
llvm-svn: 65786
-
Nick Lewycky authored
attribution. llvm-svn: 65785
-
Nick Lewycky authored
options to gold. llvm-svn: 65783
-
Mikhail Glushenkov authored
Also removes some trailing whitespace. llvm-svn: 65781
-
Gabor Greif authored
be a win, since almost every interesting function has at least one Argument. llvm-svn: 65778
-
Gabor Greif authored
its sentinel. This is quite a win when a function really has a basic block. When the function is just a declaration (and stays so) the old way did not allocate a sentinel. So this change is most beneficial when the ratio of function definition to declaration is high. I.e. linkers etc. Incidentally these are the most resource demanding applications, so I expect that the reduced malloc traffic, locality and space savings outweigh the cost of addition of two pointers to Function. llvm-svn: 65776
-
Duncan Sands authored
llvm-svn: 65775
-
Duncan Sands authored
llvm-svn: 65772
-
Duncan Sands authored
llvm-svn: 65771
-
Nick Lewycky authored
llvm-svn: 65769
-
Gabor Greif authored
llvm-svn: 65768
-
Gabor Greif authored
llvm-svn: 65767
-
Nick Lewycky authored
llvm-svn: 65766
-
Duncan Sands authored
llvm-svn: 65765
-
Bill Wendling authored
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. llvm-svn: 65758
-
Chris Lattner authored
llvm-svn: 65756
-
Chris Lattner authored
as well as isSafeAllocaToScalarRepl. llvm-svn: 65755
-
Evan Cheng authored
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. llvm-svn: 65752
-
Chris Lattner authored
the buildbot will work. llvm-svn: 65750
-
Chris Lattner authored
stuff like %A = type { %A*} instead of an upref. llvm-svn: 65748
-