[PATCH] [TableGen][AsmMatcherEmitter] Only parse tokens following separators as registers

Craig Topper craig.topper at gmail.com
Mon May 18 22:23:23 PDT 2015


Does this still allow the problem with a hypothetical string of   ss${cc}cmp?


REPOSITORY
  rL LLVM

================
Comment at: utils/TableGen/AsmMatcherEmitter.cpp:971
@@ -962,1 +970,3 @@
 
+  // If wasn't separater from another token (e.g. with whitespace), don't
+  // interpret this as a register name.
----------------
separator

http://reviews.llvm.org/D9844

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list