[PATCH] [mips] Add support for 'ZC' inline assembly memory constraint.

Daniel Sanders daniel.sanders at imgtec.com
Fri Mar 20 02:18:17 PDT 2015


================
Comment at: lib/Basic/Targets.cpp:5936
@@ +5935,3 @@
+      }
+      break;
+    }
----------------
atanasyan wrote:
> What does return this function if 'Z' is not followed by 'C'?
> 
> ```
> case 'Z':
>   if (Name[1] != 'C')
>     return false;
>   Info.setAllowsMemory();
>   Name++; // Skip over 'Z'.
>   return true;
> ```
It's supposed to return false. I'll fix it shortly.

http://reviews.llvm.org/D8449

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






More information about the cfe-commits mailing list