- Apr 04, 2011
-
-
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
-
Ted Kremenek authored
-Wuninitialized: use "self-init" warning when issue uninitialized values warnings from the dataflow analysis that include within the initializer of a variable. llvm-svn: 128843
-
Devang Patel authored
llvm-svn: 128842
-
Johnny Chen authored
rdar://problem/9225433 llvm-svn: 128841
-
Ted Kremenek authored
llvm-svn: 128840
-
Devang Patel authored
llvm-svn: 128839
-
Ted Kremenek authored
-Wuninitialized: don't issue fixit for initializer if a variable declaration already has an initializer. llvm-svn: 128838
-
Greg Clayton authored
GDBRemoteCommunicationServer classes. This involved adding a new packet named "qSpeedTest" which can test the speed of a packet send/response pairs using a wide variety of send/recv packet sizes. Added a few new connection classes: one for shared memory, and one for using mach messages (Apple only). The mach message stuff is experimental and not working yet, but added so I don't lose the code. The shared memory stuff uses pretty standard calls to setup shared memory. llvm-svn: 128837
-
Jakob Stoklund Olesen authored
This causes defs to dominate uses, no instructions after terminators, and other goodness. llvm-svn: 128836
-
Jakob Stoklund Olesen authored
The code inserted by PPCTargetLowering::EmitInstrWithCustomInserter for ppc64 is wrong, and I don't know how to fix it. It seems to be using the correct register classes for pointers, but it inserts all 32-bit instructions. llvm-svn: 128835
-
Eric Christopher authored
llvm-svn: 128834
-
Ted Kremenek authored
When emitting a "too many arguments to function call..." error, also include a note with a location for the function prototype. llvm-svn: 128833
-
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
-
Chris Lattner authored
llvm-svn: 128831
-
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
-
Jakob Stoklund Olesen authored
llvm-svn: 128827
-
Joerg Sonnenberger authored
llvm-svn: 128826
-
Bob Wilson authored
Sandeep Patel noticed that the alignment was wrong for Neon vector types, and this change is partly derived from his patch. For the APCS ABI, however, additional changes were required: the maximum ABI alignment is 32 bits and the preferred alignment for i64 and f64 types should be 64 bits. llvm-svn: 128825
-
Joerg Sonnenberger authored
llvm-svn: 128823
-
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
-
NAKAMURA Takumi authored
llvm-svn: 128819
-
Joerg Sonnenberger authored
llvm-svn: 128818
-
Duncan Sands authored
llvm-svn: 128812
-
Jay Foad authored
returning a scalar value in a function whose return type is a single- element structure or array. llvm-svn: 128810
-
Eli Friedman authored
llvm-svn: 128809
-
Tobias Grosser authored
Contributed by: etherzhhb@gmail.com llvm-svn: 128808
-
-
Eli Friedman authored
I'm pretty sure this is the right fix, but I would appreciate it if someone else would double-check. llvm-svn: 128806
-
Peter Collingbourne authored
ref_cnt mutable and Retain/Release const to enable reference counted pointers to const objects llvm-svn: 128804
-
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
-
-
Howard Hinnant authored
llvm-svn: 128797
-