This patch sets the alignment of loads and stores in generated LLVM IR according to the target ABI.
I don't know whether ABI alignment is a valid assumption for Thorin codegen (thus this PR). However, this improves assembly for SX-Aurora (loads and stores are otherwise legalized down into byte loads and stores...).
This patch sets the alignment of loads and stores in generated LLVM IR according to the target ABI.
I don't know whether ABI alignment is a valid assumption for Thorin codegen (thus this PR). However, this improves assembly for SX-Aurora (loads and stores are otherwise legalized down into byte loads and stores...).