[clang] [llvm] RFC: Implementing new mechanism for hard register operands to inline asm as a constraint. (PR #85846)

Tony Tao via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 13:01:50 PST 2025


tltao wrote:

> I'm not sure I follow what you mean here; does this mean that if you have a register asm variable, it might not end up in that register? That seems like a regression for existing code.

Ah, good point. I was thinking more in line of mismatching register classes, but you're right, with our current TargetLowering logic, it's not possible to combine register asm with any other constraints.

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


More information about the llvm-commits mailing list