- Mar 04, 2009
-
-
Evan Cheng authored
llvm-svn: 66024
-
Eli Friedman authored
llvm-svn: 66021
-
Dan Gohman authored
llvm-svn: 66008
-
Dan Gohman authored
result from add, sub, inc, and dec instructions in simple cases. llvm-svn: 66004
-
Dale Johannesen authored
llvm-svn: 66001
-
Dale Johannesen authored
llvm-svn: 66000
-
Dale Johannesen authored
per Chris' suggestion. Slightly faster. llvm-svn: 65999
-
Evan Cheng authored
Fix PR3701. 1. X86 target renamed eflags register to flags. This matches what llvm-gcc generates so codegen knows flags register is being clobbered by inline asm. 2. BURR scheduler should also check if inline asm nodes can clobber "live" physical registers. Previously it was only checking target nodes with implicit defs. llvm-svn: 65996
-
Devang Patel authored
If a global constant is dead then global's debug info should not prevent the optimizer in deleting the global. And while deleting global, delete global's debug info also. llvm-svn: 65994
-
Dale Johannesen authored
when counting work; it was only off by 1. llvm-svn: 65993
-
Bill Wendling authored
so it changed it into a 31 via the TLO.ShrinkDemandedConstant() call. Then it would go through the DAG combiner again. This time it had a value of 31, which was turned into a -1 by TLI.SimplifyDemandedBits(). This would ping pong forever. Teach the TLO.ShrinkDemandedConstant() call not to lower a value if the demanded value is an XOR of all ones. llvm-svn: 65985
-
Dale Johannesen authored
caused them to be considered trivially dead. Fix this. llvm-svn: 65979
-
- Mar 03, 2009
-
-
Dale Johannesen authored
feed into llvm.dbg.declare nodes, as well as the debug directives themselves. llvm-svn: 65976
-
Devang Patel authored
llvm-svn: 65971
-
Dale Johannesen authored
use, check also for the case where it has two uses, the other being a llvm.dbg.declare. This is needed so debug info doesn't affect codegen. llvm-svn: 65970
-
Chris Lattner authored
llvm-svn: 65967
-
Dan Gohman authored
instructions. These aren't used yet. llvm-svn: 65965
-
Bob Wilson authored
llvm-svn: 65962
-
Bill Wendling authored
llvm-svn: 65961
-
Bill Wendling authored
llvm-svn: 65960
-
Bill Wendling authored
llvm-svn: 65945
-
Mikhail Glushenkov authored
llvm-svn: 65942
-
Mikhail Glushenkov authored
llvm-svn: 65936
-
Zhou Sheng authored
llvm-svn: 65934
-
Dan Gohman authored
and put @file directives on their own comment line. llvm-svn: 65920
-
Dale Johannesen authored
(lest they affect codegen). llvm-svn: 65915
-
Dale Johannesen authored
info with it. Don't count debug info insns against the scan maximum in FindAvailableLoadedValue (lest they affect codegen). llvm-svn: 65910
-
Devang Patel authored
llvm-svn: 65908
-
Devang Patel authored
If branch conditions' one successor is dominating another non-latch successor then this loop's iteration space can not be restricted. In this example block bb5 is always executed. llvm-svn: 65902
-
Bob Wilson authored
arbitrary vector sizes. Add an optional MinSplatBits parameter to specify a minimum for the splat element size. Update the PPC target to use the revised interface. llvm-svn: 65899
-
Nate Begeman authored
llvm-svn: 65895
-
- Mar 02, 2009
-
-
Devang Patel authored
This is ugly, but I can't figure out a quick way out of this. llvm-svn: 65889
-
Chris Lattner authored
Ed Schouten! llvm-svn: 65882
-
Duncan Sands authored
clean up when using variable length arrays in llvm-gcc. llvm-svn: 65832
-
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
-
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
-