[llvm-commits] [llvm] r40610 - in /llvm/trunk: lib/AsmParser/Lexer.l lib/AsmParser/llvmAsmParser.y test/Assembler/2007-07-30-AutoUpgradeZextSext.ll

Chris Lattner clattner at apple.com
Wed Aug 1 17:43:58 PDT 2007


On Jul 30, 2007, at 7:57 PM, Reid Spencer wrote:
> Make the AsmParser auto-upgrade the old zext and sext
> keywords for parameter attributes and handle the
> end-of-line ambiguity.
> +sext{WSNL}      { // For auto-upgrade only, drop in LLVM 3.0
> +                  return SIGNEXT; }
> +zext{WSNL}      { // For auto-upgrade only, drop in LLVM 3.0
> +                  return ZEROEXT; }

Wow, very clever Reid.  Thanks for tackling this!

-Chris





More information about the llvm-commits mailing list