Skip to content
  1. May 10, 2011
  2. May 09, 2011
  3. May 08, 2011
    • Jakob Stoklund Olesen's avatar
      Remove an assertion to fix PR9872. · 89bd2ae5
      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
      89bd2ae5
    • Benjamin Kramer's avatar
      X86: Add a bunch of peeps for add and sub of SETB. · d724a590
      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
      d724a590
    • Rafael Espindola's avatar
      Don't force relaxation of AdvanceLoc instructions on OS X. gdb is happy with · ab39c635
      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
      ab39c635
    • Eli Friedman's avatar
      PR9869: Add explicit destructor declarations to Operator subclasses, to allow · aa263734
      Eli Friedman authored
      compiling Operator.h with gcc 4.6 in C++0x mode.
      
      llvm-svn: 131062
      aa263734
  4. May 07, 2011
Loading