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

Ziv Izhar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 04:19:23 PDT 2017


zizhar 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)
----------------
ahatanak wrote:
> If we are going to ignore 'i', should we ignore other constraints for immediate operands too (for example, 'n', 'E", and 'F')?
I agree, we should.
I will add these cases aswell :)


https://reviews.llvm.org/D31383





More information about the cfe-commits mailing list