[clang] [llvm] [X86] Support EGPR for inline assembly. (PR #92338)

Freddy Ye via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 19:44:24 PDT 2024


================
@@ -57581,6 +57581,14 @@ X86TargetLowering::getConstraintType(StringRef Constraint) const {
       case '2':
         return C_RegisterClass;
       }
+    case 'j':
+      switch (Constraint[1]) {
+      default:
+        break;
+      case 'r':
+      case 'R':
+        return C_RegisterClass;
----------------
FreddyLeaf wrote:

`r` is handled at TargetLowering::getConstraintType

https://github.com/llvm/llvm-project/pull/92338


More information about the cfe-commits mailing list