================
@@ -1418,6 +1418,14 @@ bool X86TargetInfo::validateAsmConstraint(
case 'O':
Info.setRequiresImmediate(0, 127);
return true;
+ case 'W':
+ switch (*++Name) {
+ default:
+ return false;
+ case 's':
+ Info.setAllowsRegister();
----------------
MaskRay wrote:
`setAllowsRegister` is somewhat confusing but its use is correct here (also
used by aarch64/riscv `S`).
`setAllowsMemory` seems to not add extra checks.
https://github.com/llvm/llvm-project/pull/77886
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits