I've been chatting with David Peixotto about this patch. He came up with a way to implement the same features that shares more code and doesn't modify the asm parser. New patch coming soon! http://llvm-reviews.chandlerc.com/D2255