[clang] [llvm] [X86] Support EGPR for inline assembly. (PR #92338)
Freddy Ye via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 19:45:17 PDT 2024
================
@@ -57660,6 +57668,19 @@ X86TargetLowering::getSingleConstraintMatchWeight(
break;
}
break;
+ case 'j':
+ if (StringRef(Constraint).size() != 2)
+ break;
+ switch (Constraint[1]) {
+ default:
+ return CW_Invalid;
+ case 'r':
+ case 'R':
+ if (CallOperandVal->getType()->isIntegerTy())
+ Wt = CW_SpecificReg;
----------------
FreddyLeaf wrote:
ditto
https://github.com/llvm/llvm-project/pull/92338
More information about the llvm-commits
mailing list