- Apr 05, 2011
-
-
Rafael Espindola authored
llvm-svn: 128887
-
Jakob Stoklund Olesen authored
This allows us to always keep the smaller slot for an instruction which is what we want when a register has early clobber defines. Drop the UsingInstrs set and the UsingBlocks map. They are no longer needed. llvm-svn: 128886
-
Nadav Rotem authored
space info. We crash with an assert in this case. This change checks that the address space of the bitcasted pointer is the same as the gep ptr. llvm-svn: 128884
-
Jakob Stoklund Olesen authored
llvm-svn: 128875
-
Jakob Stoklund Olesen authored
inlined path for the common case. Most basic blocks don't contain a call that may throw, so the last split point os simply the first terminator. llvm-svn: 128874
-
Bill Wendling authored
It needed to be moved closer to the setjmp statement, because the code directly after the setjmp needs to know about values that are on the stack. Also, the 'bitcast' of the function context was causing a dead load. This wouldn't be too horrible, except that at -O0 it wasn't optimized out, and because it wasn't using the correct base pointer (if there is a VLA), it would try to access a value from a garbage address. <rdar://problem/9130540> llvm-svn: 128873
-
Eric Christopher authored
Fixes rdar://9184526 llvm-svn: 128869
-
Stuart Hastings authored
llvm-svn: 128868
-
Johnny Chen authored
rdar://problem/9230801 ARM disassembler discrepancy: erroneously accepting SRS Plus add invalid-RFEorLDMIA-arm.txt test which should have been checked in with http://llvm.org/viewvc/llvm-project?view=rev&revision=128859. llvm-svn: 128864
-
Johnny Chen authored
Inst{15-12} should be specified as 0b0000. rdar://problem/9231168 ARM disassembler discrepancy: erroneously accepting MUL llvm-svn: 128862
-
Johnny Chen authored
rdar://problem/9229922 ARM disassembler discrepancy: erroneously accepting RFE Also LDC/STC instructions are predicated while LDC2/STC2 instructions are not, fixed while doing regression testings. llvm-svn: 128859
-
Jim Grosbach authored
llvm-svn: 128856
-
Jim Grosbach authored
The JITMemory manager references LLVM IR constructs directly, while the runtime Dyld works at a lower level and can handle objects which may not originate from LLVM IR. Introduce a new layer for the memory manager to handle the interface between them. For the MCJIT, this layer will be almost entirely simply a call-through w/ translation between the IR objects and symbol names. llvm-svn: 128851
-
- Apr 04, 2011
-
-
Joerg Sonnenberger authored
llvm-svn: 128847
-
Jakob Stoklund Olesen authored
When a virtual register has a single value that is defined as a copy of a reserved register, permit that copy to be joined. These virtual register are usually copies of the stack pointer: %vreg75<def> = COPY %ESP; GR32:%vreg75 MOV32mr %vreg75, 1, %noreg, 0, %noreg, %vreg74<kill> MOV32mi %vreg75, 1, %noreg, 8, %noreg, 0 MOV32mi %vreg75<kill>, 1, %noreg, 4, %noreg, 0 CALLpcrel32 ... Coalescing these virtual registers early decreases register pressure. Previously, they were coalesced by RALinScan::attemptTrivialCoalescing after register allocation was completed. The lower register pressure causes the mcinst-lowering-cmp0.ll test case to fail because it depends on linear scan spilling a particular register. I am deleting 2008-08-05-SpillerBug.ll because it is counting the number of instructions emitted, and its revision history shows the 'correct' count being edited many times. llvm-svn: 128845
-
Jakob Stoklund Olesen authored
llvm-svn: 128844
-
Johnny Chen authored
rdar://problem/9225433 llvm-svn: 128841
-
Jakob Stoklund Olesen authored
This causes defs to dominate uses, no instructions after terminators, and other goodness. llvm-svn: 128836
-
Bruno Cardoso Lopes authored
also fix the encoding of the later. - Add a new encoding bit to describe the index mode used in AM3. - Teach printAddrMode3Operand to check by the addressing mode which index mode to print. - Testcases. llvm-svn: 128832
-
Akira Hatanaka authored
Move transformation of JmpLink and related nodes done during instruction selection to Legalize phase. llvm-svn: 128830
-
Jakob Stoklund Olesen authored
llvm-svn: 128829
-
Jakob Stoklund Olesen authored
The 32-bit R0 cannot be used where a 64-bit register is expected. llvm-svn: 128828
-
Joerg Sonnenberger authored
llvm-svn: 128826
-
Joerg Sonnenberger authored
Define most shift masks incrementally to reduce the redundant hard-coding. Introduce new shift for the VEX flags to replace the magic constant 32 in various places. llvm-svn: 128822
-
Jakob Stoklund Olesen authored
llvm-svn: 128821
-
Jakob Stoklund Olesen authored
llvm-svn: 128820
-
Jay Foad authored
returning a scalar value in a function whose return type is a single- element structure or array. llvm-svn: 128810
-
Tobias Grosser authored
Contributed by: etherzhhb@gmail.com llvm-svn: 128808
-
Eli Friedman authored
llvm-commits. (Not sure why it only breaks on Windows; maybe it has something to do with the iterator representation...) llvm-svn: 128802
-
Eric Christopher authored
separate executable. llvm-svn: 128801
-
Eric Christopher authored
llvm-svn: 128800
-
Eric Christopher authored
- Adds support for sniffing PE/COFF files on win32 (.exe and .dll) which are COFF files that have an MS-DOS compatibility stub on the front of them. - Fixes a bug in the COFFObjectFile's support for the Microsoft COFF extension for long symbol names, wherein it was attempting to parse the leading '/' in an extended symbol name reference as part of the integer offset. - Fixes bugs in COFFObjectFile and ELFObjectFile wherein section and symbol iterators were being returned with uninitialized bytes; the type DataRefImpl is a union between 2 32-bit words (d.a and d.b) and a single intptr_t word (p). Only p was being initialized, so in 32-bit builds the result would be iterators with random upper 32-bit words in their DataRefImpls. This caused random failures when seeking around in object files. Patch by Graydon Hoare! llvm-svn: 128799
-
Eric Christopher authored
Patch by Patrick Walton! llvm-svn: 128798
-
- Apr 03, 2011
-
-
Eli Friedman authored
after the given instruction; make sure to handle that case correctly. (It's difficult to trigger; the included testcase involves a dead block, but I don't think that's a requirement.) While I'm here, get rid of the unnecessary warning about SimplifyInstructionsInBlock, since it should work correctly as far as I know. llvm-svn: 128782
-
Eli Friedman authored
Based on PR9429, but no testcase because I can't figure out how to trigger it anymore given other changes to the relevant code. llvm-svn: 128781
-
- Apr 02, 2011
-
-
Benjamin Kramer authored
It's possible to craft an input that hits the recursion limits in a way that SimplifyDemandedBits doesn't simplify the icmp but ComputeMaskedBits can infer which bits are zero. No test case as it depends on too many other things. Fixes PR9609. llvm-svn: 128777
-
Che-Liang Chiou authored
llvm-svn: 128767
-
Jakob Stoklund Olesen authored
llvm-svn: 128765
-
Jakob Stoklund Olesen authored
When the greedy register allocator is splitting multiple global live ranges, it tends to look at the same interference data many times. The InterferenceCache class caches queries for unaltered LiveIntervalUnions. llvm-svn: 128764
-
Jakob Stoklund Olesen authored
This is more compact and faster than using DenseMap. llvm-svn: 128763
-