[X86] Avoid std::string creation in RecognizableInstr constructor. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 18 Dec 2020 16:00:27 +0000 (16:00 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 18 Dec 2020 16:00:41 +0000 (16:00 +0000)
commit94da2cf650dd4397e8f84982c81e70f7a1825103
tree7c7084291d69dc0f17289e317d5138dc1ac9bf7b
parent91593e461a24f355fa6138c2a7b136d1ec1d9d79
[X86] Avoid std::string creation in RecognizableInstr constructor. NFCI.

The value names in byteFromRec calls are compile time constants - just create StringRef directly instead of via std::string.
llvm/utils/TableGen/X86RecognizableInstr.cpp