Skip to content
  1. Apr 28, 2008
  2. Apr 27, 2008
    • Bill Wendling's avatar
      Added support for: · d8c2d293
      Bill Wendling authored
      - defm and multiclass
      - imbricatable multiline C style comment
      - FIXME/TODO highlight in comment
      - binary and hexadecimal number
      - code using [{ }] is no highlighted as special (perhaps not the best
      choice)
      Patch by Cedric Venet!
      
      llvm-svn: 50319
      d8c2d293
    • Chris Lattner's avatar
      typo · 58b9ece3
      Chris Lattner authored
      llvm-svn: 50316
      58b9ece3
    • Chris Lattner's avatar
      Implement a signficant optimization for inline asm: · 22379734
      Chris Lattner authored
      When choosing between constraints with multiple options,
      like "ir", test to see if we can use the 'i' constraint and
      go with that if possible.  This produces more optimal ASM in
      all cases (sparing a register and an instruction to load it),
      and fixes inline asm like this:
      
      void test () {
        asm volatile (" %c0 %1 " : : "imr" (42), "imr"(14));
      }
      
      Previously we would dump "42" into a memory location (which
      is ok for the 'm' constraint) which would cause a problem
      because the 'c' modifier is not valid on memory operands.
      
      Isn't it great how inline asm turns 'missed optimization'
      into 'compile failed'??
      
      Incidentally, this was the todo in 
      PowerPC/2007-04-24-InlineAsm-I-Modifier.ll
      
      Please do NOT pull this into Tak.
      
      llvm-svn: 50315
      22379734
    • Chris Lattner's avatar
      isa+cast -> dyn_cast · a937baeb
      Chris Lattner authored
      llvm-svn: 50314
      a937baeb
    • Chris Lattner's avatar
      Move a bunch of inline asm code out of line. · 4793515a
      Chris Lattner authored
      llvm-svn: 50313
      4793515a
    • Chris Lattner's avatar
      A few inline asm cleanups: · 724539c0
      Chris Lattner authored
        - Make targetlowering.h fit in 80 cols.
        - Make LowerAsmOperandForConstraint const.
        - Make lowerXConstraint -> LowerXConstraint
        - Make LowerXConstraint return a const char* instead of taking a string byref.
      
      llvm-svn: 50312
      724539c0
    • Chris Lattner's avatar
      no need to implement this method and just have it call · b4224cda
      Chris Lattner authored
      the default impl.
      
      llvm-svn: 50311
      b4224cda
  3. Apr 26, 2008
  4. Apr 25, 2008
Loading