[clang] [llvm] [X86] Support EGPR for inline assembly. (PR #92338)
Shengchen Kan via cfe-commits
cfe-commits at lists.llvm.org
Wed May 29 02:47:05 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;
----------------
KanRobert wrote:
What's this used for? I can't find `r` in the switch-cases before this PR.
https://github.com/llvm/llvm-project/pull/92338
More information about the cfe-commits
mailing list