- Apr 11, 2011
-
-
Jakob Stoklund Olesen authored
weight limit has been exceeded. llvm-svn: 129305
-
Wesley Peck authored
This fixes http://llvm.org/bugs/show_bug.cgi?id=9653 llvm-svn: 129303
-
Bill Wendling authored
the 'unwind' instruction. However, later on that instruction was converted into a jump to the basic block it was located in, causing an infinite loop when we get there. It turns out, we get there if the _Unwind_Resume_or_Rethrow call returns (which it's not supposed to do). It returns if it cannot find a place to unwind to. Thus we would get what appears to be a "hang" when in reality it's just that the EH couldn't be propagated further along. Instead of infinitely looping (or calling `unwind', which none of our back-ends support (it's lowered into nothing...)), call the @llvm.trap() intrinsic instead. This may not conform to specific rules of a particular language, but it's rather better than infinitely looping. <rdar://problem/9175843&9233582> llvm-svn: 129302
-
Johnny Chen authored
Fix the bug where the immediate shift amount for Thumb logical shift instructions are incorrectly disassembled. rdar://problem/9266265 llvm-svn: 129298
-
Evan Cheng authored
Look pass copies when determining whether hoisting would end up inserting more copies. rdar://9266679 llvm-svn: 129297
-
Rafael Espindola authored
llvm-svn: 129296
-
Owen Anderson authored
Fix another using-CPSR-twice bug in my ADCS/SBCS cleanups, and make proper use of the Commutable bit. llvm-svn: 129294
-
Jakob Stoklund Olesen authored
LiveIntervals::findLiveInMBBs has to do a full binary search for each segment. llvm-svn: 129292
-
Johnny Chen authored
llvm-svn: 129288
-
Evan Cheng authored
llvm-svn: 129287
-
Johnny Chen authored
invalid instructions. llvm-svn: 129286
-
Kevin Enderby authored
disassembler API. Hooked this up to the ARM target so such tools as Darwin's otool(1) can now print things like branch targets for example this: blx _puts instead of this: blx #-36 And even print the expression encoded in the Mach-O relocation entried for things like this: movt r0, :upper16:((_foo-_bar)+1234) llvm-svn: 129284
-
Jakob Stoklund Olesen authored
Both coalescing and register allocation already check aliases for interference, so these extra segments are only slowing us down. This speeds up both linear scan and the greedy register allocator. llvm-svn: 129283
-
Jakob Stoklund Olesen authored
This particularly helps with the initial transfer of fixed intervals. llvm-svn: 129277
-
Jakob Stoklund Olesen authored
llvm-svn: 129276
-
Jakob Stoklund Olesen authored
In particular, don't repeatedly recompute the PIC base live range after rematerialization. llvm-svn: 129275
-
Jay Foad authored
was always a User. llvm-svn: 129272
-
Jay Foad authored
llvm-svn: 129271
-
Jay Foad authored
an odd number. llvm-svn: 129270
-
Bill Wendling authored
--- Reverse-merging r129235 into '.': D test/Feature/bb_attrs.ll U include/llvm/BasicBlock.h U include/llvm/Bitcode/LLVMBitCodes.h U lib/VMCore/AsmWriter.cpp U lib/VMCore/BasicBlock.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLLexer.cpp U lib/AsmParser/LLToken.h U lib/Bitcode/Reader/BitcodeReader.cpp U lib/Bitcode/Writer/BitcodeWriter.cpp llvm-svn: 129259
-
- Apr 10, 2011
-
-
Nicolas Geoffray authored
llvm-svn: 129248
-
Bill Wendling authored
* Add a "landing pad" attribute to the BasicBlock. * Modify the bitcode reader and writer to handle said attribute. Later: The verifier will ensure that the landing pad attribute is used in the appropriate manner. I.e., not applied to the entry block, and applied only to basic blocks that are branched to via a `dispatch' instruction. (This is a work-in-progress.) llvm-svn: 129235
-
- Apr 09, 2011
-
-
rdar://8735979Chris Lattner authored
InstAlias doesn't allow matching immediate operands, so we have to write C++ code to do this. llvm-svn: 129223
-
Benjamin Kramer authored
llvm-svn: 129214
-
Benjamin Kramer authored
And don't append the name over and over again in the loop. llvm-svn: 129210
-
Benjamin Kramer authored
llvm-svn: 129209
-
Eli Friedman authored
is an array of structures doesn't imply it's a ConstantArray of ConstantStruct. llvm-svn: 129207
-
Chris Lattner authored
llvm-svn: 129203
-
Chris Lattner authored
delete the instruction pointed to by CGP's current instruction iterator, leading to a crash on the testcase. This fixes PR9578. llvm-svn: 129200
-
Chris Lattner authored
Switch lowering probably shouldn't be using FP for this. This resolves PR9581. llvm-svn: 129199
-
Eli Friedman authored
it's completely safe to cache the AST across LICM runs even with this fix, but this fix can't hurt. llvm-svn: 129198
-
Chris Lattner authored
llvm-svn: 129193
-
Jakob Stoklund Olesen authored
It is common for large live ranges to have few basic blocks with register uses and many live-through blocks without any uses. This approach grows the Hopfield network incrementally around the use blocks, completely avoiding checking interference for some through blocks. llvm-svn: 129188
-
Jakob Stoklund Olesen authored
This doesn't require seeking in the live interval union, so it is very cheap. llvm-svn: 129187
-
Chris Lattner authored
with undef arguments. llvm-svn: 129185
-
Sean Callanan authored
error stream, in cases where the AsmParser is being invoked by EDDisassembler. Before, they were being sent to errs() because no error handler was installed in the SourceMgr. llvm-svn: 129177
-
Devang Patel authored
Simplify array bound checks and clarify comments. One element array can have same non-zero number as lower bound as well as upper bound. llvm-svn: 129170
-
Nick Lewycky authored
can be used even when main() isn't present in the Module, but it means that you don't get to read argv[]. llvm-svn: 129163
-
- Apr 08, 2011
-
-
Matt Beaumont-Gay authored
llvm-svn: 129160
-
Devang Patel authored
If lower bound is more then upper bound then consider it is an unbounded array. An array is unbounded if non-zero lower bound is same as upper bound. If lower bound and upper bound are zero than array has one element. llvm-svn: 129156
-