Modified the register matcher function in AsmMatcher to