s-barannikov wrote:

> Shorts are half an int, so HalfWidth and HalfAlign apply here.

This is not true for our downstream target where `short` has the same width as 
`int` (note that the standard allows it).
It would be better to introduce `ShortWidth` / `ShortAlign` fields and 
initialize them to 16 by default.


https://github.com/llvm/llvm-project/pull/81367
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to