Fix some unnoticed/unwanted behavior change from r222319.
authorFrederic Riss <friss@apple.com>
Wed, 4 Feb 2015 03:10:03 +0000 (03:10 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 4 Feb 2015 03:10:03 +0000 (03:10 +0000)
commit1638ca5493df1eb1e291e19766a5f1aac90f606c
tree4d08373c7a5b4b5dfa61c956a5f21b16760653a0
parent8fa9947e4d396c96b659550f0120b8c7ac4a879f
Fix some unnoticed/unwanted behavior change from r222319.

The ARM assembler allows register alias redefinitions as long as it
targets the same register. r222319 broke that. In the AArch64 case
it would just produce a new warning, but in the ARM case it would
error out on previously accepted assembler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228109 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/AArch64/dot-req.s
test/MC/ARM/dot-req.s