Use regular expression to match register names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka 2012-05-11 23:00:40 +00:00
parent 015d2ad9ec
commit f5b1e2802f

View File

@ -5,7 +5,7 @@ entry:
; First I with short
; CHECK: #APP
; CHECK: addi $3,$2,4096
; CHECK: addi ${{[0-9]+}},${{[0-9]+}},4096
; CHECK: #NO_APP
tail call i16 asm sideeffect "addi $0,$1,$2", "=r,r,I"(i16 7, i16 4096) nounwind