Skip to content
  1. Nov 02, 2006
    • Chris Lattner's avatar
      Implement the getRegForInlineAsmConstraint method for PPC. With recent · 584a11ae
      Chris Lattner authored
      sdisel changes, this eliminates a ton of copies around common inline asms.
      For example:
      
      int test2(int Y, int X) {
        asm("foo %0, %1" : "=r"(X): "r"(X));
        return X;
      }
      
      now compiles to:
      
      _test2:
              foo r3, r4
              blr
      
      instead of:
      
      _test2:
              mr r2, r4
              foo r2, r2
              mr r3, r2
              blr
      
      GCC produces:
      
      _test2:
              foo r4, r4
              mr r3,r4
              blr
      
      llvm-svn: 31367
      584a11ae
  2. Oct 31, 2006
  3. Oct 30, 2006
  4. Oct 28, 2006
  5. Oct 26, 2006
  6. Oct 24, 2006
  7. Oct 21, 2006
  8. Oct 18, 2006
  9. Oct 17, 2006
  10. Oct 13, 2006
  11. Oct 12, 2006
  12. Oct 11, 2006
  13. Oct 09, 2006
  14. Oct 06, 2006
  15. Oct 05, 2006
  16. Oct 04, 2006
  17. Sep 29, 2006
  18. Sep 28, 2006
  19. Sep 27, 2006
Loading