[x86] Accept 'retn' as an alias to 'ret[lqw]'\'ret' (At&t\Intel)
authorMarina Yatsina <marina.yatsina@intel.com>
Wed, 28 Sep 2016 15:52:56 +0000 (15:52 +0000)
committerMarina Yatsina <marina.yatsina@intel.com>
Wed, 28 Sep 2016 15:52:56 +0000 (15:52 +0000)
commit76bfc6670b08c1ae87136a2a1c9994386b0e630e
treecac221107fc84aa2b0442c13e7e54c1bd9a4fbf7
parente17e055b75de5d084eee64ecba2111bde629a519
[x86] Accept 'retn' as an alias to 'ret[lqw]'\'ret' (At&t\Intel)

Implement 'retn' simply by aliasing it to the relevant 'ret' instruction

Commit on behalf of coby

Differential Revision: https://reviews.llvm.org/D24346

llvm-svn: 282601
llvm/lib/Target/X86/X86InstrInfo.td
llvm/test/MC/X86/ret.s