[clang] [llvm] [X86] Use vXi1 for `k` constraint in inline asm (PR #77733)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 14 18:21:15 PST 2024


phoebewang wrote:

> Why not return `i32` for 64-bit mask in 32-bit mode?

You mean in two `i32` registers? The problem is the inline asm constraint has 1:1 map with physical register except corner cases. And represent a `k` constraint into two GPR registers is inefficient.

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


More information about the cfe-commits mailing list