Hi Here is a suggest patch to support the XCore target.
This is required as the the xcore llvm backend does not handle 8 byte alignment
viz:
%BadAlignment = alloca i64, align 8
(llvm will reject the above as an error)
The patch prevents the default behavior running:
/// getPreferredTypeAlign - Return the "preferred" alignment of the
specified
/// type for the current target in bits. This can be different than the ABI
/// alignment in cases where it is beneficial for performance to overalign
/// a data type.
Robert
PatchPrefAlign
Description: PatchPrefAlign
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
