IAS: support .rep as an alias for .rept
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 28 Dec 2013 05:54:33 +0000 (05:54 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 28 Dec 2013 05:54:33 +0000 (05:54 +0000)
commitb5191e98e883fe804c400cc5187fe54d41a808e0
treecc66ec93a9c9ab10707a7afc20b03cc02fcc3170
parentb28743fd1654853004017bc3237fd1ba88d60a2b
IAS: support .rep as an alias for .rept

The GNU assembler supports .rep as an alias for .rept.  This simply creates the
alias for it and introduces a test for both .rept and .rep.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198097 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/directive_rept.s [new file with mode: 0644]