Skip to content
  1. Jan 09, 2008
  2. Jan 07, 2008
  3. Jan 06, 2008
  4. Jan 05, 2008
  5. Jan 02, 2008
  6. Jan 01, 2008
  7. Dec 31, 2007
  8. Dec 30, 2007
    • Chris Lattner's avatar
      Use MachineOperand::getImm instead of MachineOperand::getImmedValue. Likewise... · 5c463781
      Chris Lattner authored
      Use MachineOperand::getImm instead of MachineOperand::getImmedValue.  Likewise setImmedValue -> setImm
      
      llvm-svn: 45453
      5c463781
    • Bill Wendling's avatar
      If we have a load of a global address that's not modified during the · 7749a901
      Bill Wendling authored
      function, then go ahead and hoist it out of the loop. This is the result:
      
      $ cat a.c
      volatile int G;
      
      int A(int N) {
        for (; N > 0; --N)
          G++;
      }
      $ llc -o - -relocation-model=pic
      _A:
      ...
      LBB1_2: # bb
              movl    L_G$non_lazy_ptr-"L1$pb"(%eax), %esi
              incl    (%esi)
              incl    %edx
              cmpl    %ecx, %edx
              jne     LBB1_2  # bb
      ...
      $ llc -o - -relocation-model=pic -machine-licm
      _A:
      ...
              movl    L_G$non_lazy_ptr-"L1$pb"(%eax), %eax
      LBB1_2: # bb
              incl    (%eax)
              incl    %edx
              cmpl    %ecx, %edx
              jne     LBB1_2  # bb
      ...
      
      I'm limiting this to the MOV32rm x86 instruction for now.
      
      llvm-svn: 45444
      7749a901
  9. Dec 29, 2007
  10. Dec 18, 2007
  11. Dec 09, 2007
  12. Dec 08, 2007
    • Bill Wendling's avatar
      Renaming: · 2b07d8c5
      Bill Wendling authored
        isTriviallyReMaterializable -> hasNoSideEffects
        isReallyTriviallyReMaterializable -> isTriviallyReMaterializable
      
      llvm-svn: 44702
      2b07d8c5
  13. Oct 11, 2007
  14. Oct 09, 2007
  15. Oct 08, 2007
  16. Oct 06, 2007
  17. Oct 05, 2007
  18. Sep 29, 2007
  19. Sep 25, 2007
  20. Sep 17, 2007
Loading