[PATCH] Preserve early clobber flag when using named registers in inline assembly.

Daniel Sanders daniel.sanders at imgtec.com
Wed Feb 4 02:37:24 PST 2015


The argument to SimplifyConstraint() would omit the first character (always '=') and the function preserved the '&', giving '&r' as the result of SimplifyConstraint(). Each of the paths of AddVariableConstraints() that returned Constraint unmodified would also preserve the '&'. Then the code I added would prepend '=&' for the early clobber case giving '=&&r'.


http://reviews.llvm.org/D7346

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






More information about the cfe-commits mailing list