- Mar 02, 2009
-
-
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
-
- Mar 01, 2009
-
-
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
-
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
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
stuff like %A = type { %A*} instead of an upref. llvm-svn: 65748
-
Bob Wilson authored
method in a BuildVectorSDNode "pseudo-class". llvm-svn: 65747
-
Chris Lattner authored
types. This was reading the uint for the keyword after the token was advanced. llvm-svn: 65743
-
Chris Lattner authored
type opaque ; type %0 %C = type { %0, %0 } instead of: %C = type { opaque, opaque } when appropriate. llvm-svn: 65742
-
Chris Lattner authored
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. llvm-svn: 65738
-
Chris Lattner authored
AsmWriter.cpp method. llvm-svn: 65736
-
Chris Lattner authored
llvm-svn: 65735
-
Chris Lattner authored
stuff in AsmWriter.cpp for Type::getDescription(). llvm-svn: 65734
-
Chris Lattner authored
llvm-svn: 65733
-
- Feb 28, 2009
-
-
Chris Lattner authored
llvm-svn: 65729
-
Chris Lattner authored
llvm-svn: 65724
-
Chris Lattner authored
llvm-svn: 65723
-
Chris Lattner authored
llvm-svn: 65722
-
Chris Lattner authored
llvm-svn: 65721
-
Chris Lattner authored
the old std::ostream version. llvm-svn: 65720
-
Chris Lattner authored
eliminate redundant opaque handling code. llvm-svn: 65716
-
Chris Lattner authored
llvm-svn: 65715
-
Chris Lattner authored
llvm-svn: 65714
-
Chris Lattner authored
be a smallvector instead of vector. llvm-svn: 65713
-
Chris Lattner authored
llvm-svn: 65712
-
Chris Lattner authored
llvm-svn: 65711
-
Chris Lattner authored
and move all related stuff to it. llvm-svn: 65710
-
Chris Lattner authored
@a = internal constant void bitcast(<0 x i8> <> to void) ^ Fixes PR3685 llvm-svn: 65698
-
Evan Cheng authored
llvm-svn: 65679
-
Mon P Wang authored
llvm-svn: 65662
-
- Feb 27, 2009
-
-
Devang Patel authored
It is possible that subprgoram definition is only encoding return value directly, instsad of an DIArray of all argument types. llvm-svn: 65643
-
Rafael Espindola authored
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. llvm-svn: 65632
-
Gabor Greif authored
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. llvm-svn: 65626
-
Nick Lewycky authored
are always set by reference on the path that uses them.) No functional change. llvm-svn: 65621
-
Nick Lewycky authored
llvm-svn: 65620
-
Dale Johannesen authored
possibly for the reason suggested by the comment. No wonder it didn't work very well. This unblocks bootstrap with assertions on ppc. llvm-svn: 65601
-
Evan Cheng authored
llvm-svn: 65592
-
- Feb 26, 2009
-
-
Zhou Sheng authored
conditional branch predecessors. llvm-svn: 65509
-
Owen Anderson authored
llvm-svn: 65501
-