search for: myreg0

Displaying 1 result from an estimated 1 matches for "myreg0".

Did you mean: myreg
2016 Apr 07
2
Inline asm clobber registers name
...ly and encountered problem with naming clobber registers in asm constraints. It looks like by default LLVM tries to match register specified in constraint to register name of register definition in .td file but not to the AsmName for this register. For example if we have register definition: def MYReg0 : Register<"r0", 0>; We want to create inline assembly and add this register to clobbers list. Inline assembly should look something like this: i32 asm "nop", "~{r0}" () We used AsmName for register MYReg0 inside clobbers list. But this constr...