- May 08, 2011
-
-
Jakob Stoklund Olesen authored
It can happen that a live debug variable is the last use of a sub-register, and the register allocator will pick a larger register class for the virtual register. If the allocated register doesn't support the sub-register index, just use %noreg for the debug variables instead of asserting. In PR9872, a debug variable ends up in the sub_8bit_hi part of a GR32_ABCD register. The register is split and one part is inflated to GR32 and assigned %ESI because there are no more normal uses of sub_8bit_hi. Since %ESI doesn't have that sub-register, substPhysReg asserted. Now it will simply insert a %noreg instead, and the debug variable will be marked unavailable in that range. We don't currently have a way of saying: !"value" is in bits 8-15 of %ESI, I don't know if DWARF even supports that. llvm-svn: 131073
-
Johnny Chen authored
llvm-svn: 131072
-
Benjamin Kramer authored
"b + ((a < b) ? 1 : 0)" compiles into cmpl %esi, %edi adcl $0, %esi instead of cmpl %esi, %edi sbbl %eax, %eax andl $1, %eax addl %esi, %eax This saves a register, a false dependency on %eax (Intel's CPUs still don't ignore it) and it's shorter. llvm-svn: 131070
-
Johnny Chen authored
of a universal binary and 'rax' register is available when launching the x86_64 slice. rdar://problem/9403437 llvm-svn: 131069
-
Anders Carlsson authored
complete destructors for abstract classes unless the destructor is virtual and thus needs to be in the vtable. llvm-svn: 131068
-
Rafael Espindola authored
the smaller encoding and this cuts 270336 bytes from a release version of clang and 1246272 bytes from a debug build. llvm-svn: 131067
-
Francois Pichet authored
llvm-svn: 131066
-
Douglas Gregor authored
bit by allowing __weak and __strong to be added/dropped as part of implicit conversions (qualification conversions in C++). A little history: GCC lets one add/remove/change GC qualifiers just about anywhere, implicitly. Clang did roughly the same before, but we recently normalized the semantics of qualifiers across the board to get a semantics that we could reason about (yay). Unfortunately, this tightened the screws a bit too much for GC qualifiers, where it's common to add/remove these qualifiers at will. Overall, we're still in better shape than we were before: we don't permit directly changing the GC qualifier (e.g., __weak -> __strong), so type safety is improved. More importantly, we're internally consistent in our handling of qualifiers, and the logic that allows adding/removing GC qualifiers (but not adding/removing address spaces!) only touches two obvious places. Fixes <rdar://problem/9402499>. llvm-svn: 131065
-
Greg Clayton authored
a new "QLaunchArch:<arch-name>" where <arch-name> is the architecture name. This allows us to remotely launch a debugserver and then set the architecture for the binary we will launch. llvm-svn: 131064
-
Sean Callanan authored
they are treated as pointers of type (void*). This allows reading of environ, for instance. llvm-svn: 131063
-
Eli Friedman authored
compiling Operator.h with gcc 4.6 in C++0x mode. llvm-svn: 131062
-
Jim Ingham authored
function and if not return an error. llvm-svn: 131061
-
Douglas Gregor authored
type, so long as it is known to have a constant initializer and the class type is a POD class. Fixes <rdar://problem/9306265>. llvm-svn: 131060
-
- May 07, 2011
-
-
Jakob Stoklund Olesen authored
Tablegen will invent its own names for these indexes, and the register file is a bit simpler. llvm-svn: 131059
-
Jakob Stoklund Olesen authored
The RegisterInfo.td file should only specify the indexes that sources need to refer to. The rest is inferred. llvm-svn: 131058
-
-
Eli Friedman authored
llvm-svn: 131055
-
Eli Friedman authored
llvm-svn: 131054
-
Francois Pichet authored
Don't fail at parsing __declspec(property(get=get_func_name)). Just skip everything inside property() for now while we wait for the BoostPro people to provide a complete patch. llvm-svn: 131053
-
Eli Friedman authored
bad assumptions about the alignment of the double* argument. llvm-svn: 131052
-
Francois Pichet authored
http://msdn.microsoft.com/en-us/library/hzc8ytsz(v=VS.100).aspx Microsoft doc claims this is a C++/CLI feature but it is really always enabled. This removes 2 error when parsing MFC code with clang. llvm-svn: 131051
-
Francois Pichet authored
llvm-svn: 131050
-
Duncan Sands authored
often expressed as "x >= y ? x : y", there is a good chance we can extract the existing "x >= y" from it and use that as a replacement for "max(x,y)==x". llvm-svn: 131049
-
Eric Christopher authored
Patch by Stephen Hines. llvm-svn: 131045
-
Jakob Stoklund Olesen authored
Please ensure the build is clean and tests are passing when recommitting. llvm-svn: 131044
-
Richard Trieu authored
Patch for PR 7409 - only error on definition of invalid typedefs. Suppress errors for additional uses of this invalid typedef. llvm-svn: 131043
-
Sean Callanan authored
variables be evaluated statically. Also fixed a bug that caused the results of statically-evaluated expressions to be materialized improperly. This bug also removes some duplicate code. llvm-svn: 131042
-
Jim Ingham authored
llvm-svn: 131041
-
Jim Ingham authored
llvm-svn: 131039
-
Johnny Chen authored
llvm-svn: 131038
-
Douglas Gregor authored
DeclContext's lookup table when they aren't in any identifier namespace. llvm-svn: 131037
-
Douglas Gregor authored
any names that aren't in the appropriate identifier namespaces. Fixes an embarrassing bug where we give a redefinition error due to an Objective-C category (<rdar://problem/9388207>). llvm-svn: 131036
-
Johnny Chen authored
llvm-svn: 131035
-
Daniel Dunbar authored
implementation. llvm-svn: 131034
-
Johnny Chen authored
llvm-svn: 131033
-
Fariborz Jahanian authored
non-bitfield following a bitfield if size of their types differ. llvm-svn: 131032
-
Rafael Espindola authored
llvm-svn: 131031
-
Dylan Noblesmith authored
Forgot to `svn rm` these in revisions 131025 / 131029. llvm-svn: 131030
-
Dylan Noblesmith authored
From revision 131025. llvm-svn: 131029
-
Akira Hatanaka authored
2. Remove unused function. 3. Correct indentation. llvm-svn: 131028
-