- Jan 27, 2008
-
-
Chris Lattner authored
llvm-svn: 46406
-
- Jan 26, 2008
-
-
Chris Lattner authored
llvm-svn: 46405
-
Chris Lattner authored
now that the dag combiner does it. llvm-svn: 46404
-
Chris Lattner authored
continues to infer alignment info. llvm-svn: 46403
-
Chris Lattner authored
llvm-svn: 46402
-
Chris Lattner authored
from the stack. This allows us to compile stack-align.ll to: _test: movsd LCPI1_0, %xmm0 movapd %xmm0, %xmm1 *** andpd 4(%esp), %xmm1 andpd _G, %xmm0 addsd %xmm1, %xmm0 movl 20(%esp), %eax movsd %xmm0, (%eax) ret instead of: _test: movsd LCPI1_0, %xmm0 ** movsd 4(%esp), %xmm1 ** andpd %xmm0, %xmm1 andpd _G, %xmm0 addsd %xmm1, %xmm0 movl 20(%esp), %eax movsd %xmm0, (%eax) ret llvm-svn: 46401
-
Chris Lattner authored
llvm-svn: 46400
-
Duncan Sands authored
readonly functions to use byval parameters as local storage (how much do we want this?). llvm-svn: 46399
-
Bill Wendling authored
nop. Emit the nop directly for PPC. llvm-svn: 46398
-
Bill Wendling authored
llvm-svn: 46397
-
Bill Wendling authored
llvm-svn: 46396
-
Bill Wendling authored
llvm-svn: 46395
-
Bill Wendling authored
a "nop" instruction so that we don't have the function's label associated with something that it's not supposed to be associated with. llvm-svn: 46394
-
Duncan Sands authored
when inlining a readonly function. llvm-svn: 46393
-
Bill Wendling authored
void bork() { int *address = 0; *address = 0; } It's compiled into LLVM code that looks like this: define void @bork() noreturn nounwind { entry: unreachable } This is bad on some platforms (like PPC) because it will generate the label for the function but no body. The label could end up being associated with some non-code related stuff, like a section. This places a "trap" instruction if the SimplifyCFG pass removed all code from the function leaving only one "unreachable" instruction. llvm-svn: 46387
-
Devang Patel authored
llvm-svn: 46385
-
Chris Lattner authored
delete a node even if it was not dead in some cases. Instead, just add it to the worklist. Also, make sure to use the CombineTo methods, as it was doing things that were unsafe: the top level combine loop could touch dangling memory. This fixes CodeGen/Generic/2008-01-25-dag-combine-mul.ll llvm-svn: 46384
-
Chris Lattner authored
don't bother making x&-1 only to simplify it in dag combine. This commonly occurs expanding i64 ops. llvm-svn: 46383
-
Evan Cheng authored
llvm-svn: 46382
-
Chris Lattner authored
llvm-svn: 46377
-
- Jan 25, 2008
-
-
Chris Lattner authored
llvm-svn: 46372
-
Duncan Sands authored
llvm-svn: 46369
-
Chris Lattner authored
may require a clean rebuild on leopard. :( llvm-svn: 46360
-
Duncan Sands authored
llvm-svn: 46357
-
Chris Lattner authored
llvm-svn: 46355
-
Chris Lattner authored
was actually passing a completely incorrect size to sys_icache_invalidate. Instead of having the JITEmitter do this (which doesn't have the correct size), just make the target sync its own stubs. llvm-svn: 46354
-
Duncan Sands authored
arrays. Also, as a convenience, don't barf, just return false, if someone calls isTruncStoreLegal or isLoadXLegal with an extended type for the in memory type. llvm-svn: 46352
-
Owen Anderson authored
DeadStoreElimination can treat byval parameters as if there were alloca's for the purpose of removing end-of-function stores. llvm-svn: 46351
-
Chris Lattner authored
llvm-svn: 46350
-
Chris Lattner authored
we can infer it. This will eventually help stuff, though it doesn't do much right now because all fixed FI's have an alignment of 1. llvm-svn: 46349
-
Chris Lattner authored
a reference to TargetFrameInfo. Rearrange order of fields in StackObject to save a word. llvm-svn: 46348
-
Chris Lattner authored
llvm-svn: 46347
-
Chris Lattner authored
llvm-svn: 46346
-
Chris Lattner authored
llvm-svn: 46345
-
Chris Lattner authored
us to compile: double test(double X) { return copysign(0.0, X); } into: _test: andpd LCPI1_0(%rip), %xmm0 ret instead of: _test: pxor %xmm1, %xmm1 andpd LCPI1_0(%rip), %xmm1 movapd %xmm0, %xmm2 andpd LCPI1_1(%rip), %xmm2 movapd %xmm1, %xmm0 orpd %xmm2, %xmm0 ret llvm-svn: 46344
-
Anton Korobeynikov authored
This should fix bunch of issues. llvm-svn: 46337
-
Devang Patel authored
llvm-svn: 46333
-
- Jan 24, 2008
-
-
Chris Lattner authored
llvm-svn: 46320
-
Chris Lattner authored
llvm-svn: 46318
-
Ted Kremenek authored
APInt. While some operators were already specifically overloaded for APSInt, others resulted in using the overloaded operator methods in APInt, which would result in the signedness bit being lost. Modified the APSInt(APInt&) constructor to be "explicit" and to take an extra (optional) flag to indicate the signedness. Making the ctor explicit will catch any implicit conversations between APSInt -> APInt -> APSInt that results in the signedness flag being lost. llvm-svn: 46316
-