[PATCH] D31383: [inline asm] "=i" output constraint support - gcc compatiblity

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 3 10:15:28 PDT 2017


ahatanak added inline comments.


================
Comment at: lib/Basic/TargetInfo.cpp:506
     case '!': // Disparage severely.
     case '*': // Ignore for choosing register preferences.
+    case 'i': // Ignore i as output constraint (match from the other chars)
----------------
If we are going to ignore 'i', should we ignore other constraints for immediate operands too (for example, 'n', 'E", and 'F')?


https://reviews.llvm.org/D31383





More information about the cfe-commits mailing list