Skip to content
  1. May 12, 2011
    • Oscar Fuentes's avatar
      CMake builds gold by default since revision 127466. This is · a4445d6a
      Oscar Fuentes authored
      inconsistent with autoconf, which by default set BINUTILS_INCDIR to
      empty and exclude gold from target list.
      
      Based on a patch by Haitao Li!
      
      llvm-svn: 131229
      a4445d6a
    • Evan Cheng's avatar
      Re-commit 131172 with fix. MachineInstr identity checks should check dead · cfdf3390
      Evan Cheng authored
      markers. In some cases a register def is dead on one path, but not on
      another.
      
      This is passing Clang self-hosting.
      
      llvm-svn: 131214
      cfdf3390
    • Andrew Trick's avatar
      indvars: Added SimplifyIVUsers. · 81683ed2
      Andrew Trick authored
      Interleave IV simplifications. Currently involves EliminateComparison
      and EliminateRemainder. Next I'll add EliminateExtend.
      
      llvm-svn: 131210
      81683ed2
    • Matt Beaumont-Gay's avatar
      Remove an unused variable and move a couple others inside DEBUG. · 7c6c90b3
      Matt Beaumont-Gay authored
      llvm-svn: 131208
      7c6c90b3
    • Jason W Kim's avatar
      Address the last bit of relocation flag related divergence betweeen · c09e7264
      Jason W Kim authored
      LLVM and binutils.
      
      With this patch, there are no functional differences between the .o
      produced directly from LLVM versus the .s to .o via GNU as, for relocation tags
      at least, for both PIC and non-PIC modes.
      
      Because some non-PIC reloc tags are used (legally) on PIC, so IsPCRel flag is
      necessary but not sufficient to determine whether the overall codegen mode is
      PIC or not. Why is this necessary? There is an incompatibility of how relocs
      are emitted in the .rodata section.  Binutils PIC likes to emit certain relocs
      as section relative offsets.  Non-PIC does not do this.
      
      So I added a hidden switch on the ELFObjectwriter "-arm-elf-force-pic" which
      forces the objectwriter to pretend that all relocs are for PIC mode.
      
      
      Todo: Activate ForceARMElfPIC to true if -relocation-model=pic is selected
      on llc.
      
      Todo: There are probably more issues for PIC mode on ARM/MC/ELF...
      
      Todo: Existing tests in MC/ARM/elf-reloc*.ll need to be converted over to .s 
      tests as well as expanded to cover the gamut.
      
      llvm-svn: 131205
      c09e7264
  2. May 11, 2011
  3. May 10, 2011
Loading