[llvm] [ms] [llvm-ml] Allow PTR casting of registers to their own size (PR #132751)

Eric Astor via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 24 14:33:24 PDT 2025


================
@@ -2577,14 +2584,40 @@ bool X86AsmParser::ParseIntelMemoryOperandSize(unsigned &Size) {
   return false;
 }
 
+uint16_t RegSizeInBits(MCRegister RegNo, const MCRegisterInfo &MRI) {
----------------
ericastor wrote:

Agreed that I'd very much like to see this defined there. But for now... swapped.

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


More information about the llvm-commits mailing list