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)
commitb61f01f1c2faed05d8d78a5dc920e1a857a80721
tree4f6aecb2de36ebe25c8b7519930799e10cb1655a
parenteebe962edad753551a8807434c42f0fd8c173579
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.

llvm-svn: 228109
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/AArch64/dot-req.s
llvm/test/MC/ARM/dot-req.s