- Mar 10, 2009
-
-
Dan Gohman authored
scheduled in multiple regions, liveness data used by the anti-dependence breaker is carried from one region to the next, however the information reflects the state of the instructions before scheduling. After scheduling, there may be new live range overlaps. Handle this by pessimizing the liveness data carried between regions to the point where it will be conservatively correct now matter how the earlier region is scheduled. This fixes a miscompilation in 176.gcc with the post-RA scheduler enabled. llvm-svn: 66558
-
Devang Patel authored
llvm-svn: 66554
-
Daniel Dunbar authored
- Add unbuffered flag to raw_ostream, forwarded by raw_fd_ostream and used by raw_stderr_ostream. llvm-svn: 66545
-
John Criswell authored
Also fixed a punctuation error in the header comment. This fixes PR3775. llvm-svn: 66542
-
Torok Edwin authored
to obtain debug info about them. Introduce helpers to access debug info for global variables. Also introduce a helper that works for both local and global variables. llvm-svn: 66541
-
Sanjiv Gupta authored
llvm-svn: 66540
-
Evan Cheng authored
If a function is marked alwaysinline, it must be inlined (possibly for correctness). Do so even if the callee has dynamic alloca and the caller doesn't. llvm-svn: 66539
-
Chris Lattner authored
format strings with the standard ${:foo} syntax. llvm-svn: 66527
-
Dan Gohman authored
llvm-svn: 66515
-
Dan Gohman authored
llvm-svn: 66508
-
Devang Patel authored
llvm-svn: 66490
-
- Mar 09, 2009
-
-
Dan Gohman authored
if needed. This simplifies the code a little, and is needed for an upcoming refactoring. llvm-svn: 66479
-
Chris Lattner authored
allocating memory in the JIT. This is insanely inefficient, but hey, most people implement their own memory managers anyway. Patch by Eric Yew! llvm-svn: 66472
-
Devang Patel authored
llvm-svn: 66471
-
Dan Gohman authored
where memory access types are needed. llvm-svn: 66470
-
Dan Gohman authored
llvm-svn: 66469
-
Dan Gohman authored
llvm-svn: 66467
-
Dan Gohman authored
Use VoidTy instead, to be properly conservative. llvm-svn: 66463
-
Dan Gohman authored
of an instruction into a helper function. llvm-svn: 66460
-
Devang Patel authored
llvm-svn: 66454
-
Dan Gohman authored
have to be done twice. llvm-svn: 66449
-
Dan Gohman authored
llvm-svn: 66446
-
Dan Gohman authored
before it does any processing. llvm-svn: 66443
-
Evan Cheng authored
ARM target now also recognize triplets like thumbv6-apple-darwin and set thumb mode and arch subversion. Eventually thumb triplets will go way and replaced with function notes. llvm-svn: 66435
-
Chris Lattner authored
llvm-svn: 66434
-
Evan Cheng authored
ARM isLegalAddressImmediate should check if type is a simple type now that optimizer can create values of funky scalar types. llvm-svn: 66429
-
Evan Cheng authored
Yet another case where the spiller marked two uses of the same register on the same instruction as kill. This fixes PR3706. llvm-svn: 66428
-
Duncan Sands authored
be needed now that these intrinsics are marked as not accessing memory. llvm-svn: 66420
-
Chris Lattner authored
existed was for llvm-gcc 3.4 (which used the __main hack) which is really really long dead. llvm-svn: 66417
-
Chris Lattner authored
whether a global is dead or not. This should fix PR3749 - linker adds spurious use to appending globals. I can't reasonably add a testcase for this, because the bc writer/reader strip dead constant users. llvm-svn: 66404
-
Chris Lattner authored
llvm-svn: 66403
-
Owen Anderson authored
llvm-svn: 66399
-
Chris Lattner authored
hopefully no functionality change. llvm-svn: 66398
-
Bill Wendling authored
on the number of times a std::string is created and copied. llvm-svn: 66396
-
Chris Lattner authored
llvm-svn: 66395
-
Chris Lattner authored
validate an invariant so that the asmparser rejects a bad construct instead of the verifier. Before: llvm-as: assembly parsed, but does not verify as correct! Invalid struct return type! i64 (%struct.Type*, %struct.Type*)* @foo after: llvm-as: t.ll:5:8: functions with 'sret' argument must return void define i64 @foo(%struct.Type* noalias nocapture sret %agg.result, %struct.Type* nocapture byval %t) nounwind { ^ Second, check that void is only used where allowed (in function return types) not in arbitrary places, fixing PR3747 - Crash in llvm-as with void field in struct. We now reject that example with: $ llvm-as t.ll llvm-as: t.ll:1:12: struct element can not have void type %x = type {void} ^ llvm-svn: 66394
-
Chris Lattner authored
by checking that the top-level type of a gep is sized. This causes us to reject the example with: llvm-as: t2.ll:2:16: invalid getelementptr indices getelementptr i32()* null, i32 1 ^ llvm-svn: 66393
-
- Mar 08, 2009
-
-
Chris Lattner authored
llvm-svn: 66386
-
Nick Lewycky authored
llvm-svn: 66384
-
Chris Lattner authored
llvm-svn: 66382
-