Test stackmap support for floating point types.
authorEdd Barrett <vext01@gmail.com>
Mon, 30 May 2022 09:18:22 +0000 (10:18 +0100)
committerTim Northover <t.p.northover@gmail.com>
Mon, 30 May 2022 09:49:32 +0000 (10:49 +0100)
commitd245974e1a7809f40d994548b46b4694f247fc99
treeedd56ad535766f726a91a64893964243fcec1997
parenta5cf17f8ae752f1b62b40b907bfee4faa3600b21
Test stackmap support for floating point types.

It appears that float support is complete, or at least, the stackmap records
emitted are not inconceivable (I must admit that I don't know about many of the
architectures under test here).

One curiosity, the SystemZ tests highlight an undocumented (or maybe incorrect)
quirk of the stackmap format: in the case of a Register record, the Offset or
SmallConstant field can encode a sub-register index! I've only ever seen this
field zero for Register entries up until now.
llvm/test/CodeGen/AArch64/arm64-stackmap.ll
llvm/test/CodeGen/AArch64/stackmap.ll
llvm/test/CodeGen/PowerPC/ppc64-stackmap.ll
llvm/test/CodeGen/SystemZ/stackmap.ll
llvm/test/CodeGen/X86/stackmap.ll