mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 16:43:13 +01:00
Intrinsics shouldn't see struct padding, so use a special TargetABI for them
that removes it. This unbreaks the `llvm_*_with_overflow` intrinsics.
This commit is contained in:
@@ -396,8 +396,8 @@ pragma(intrinsic, "llvm.smul.with.overflow.i#")
|
||||
*
|
||||
* See: http://llvm.org/docs/LangRef.html#int_umul_overflow
|
||||
*/
|
||||
pragma(intrinsic, "llvm.umul.with.overflow.i#")
|
||||
OverflowRet!(T) llvm_umul_with_overflow(T)(T lhs, T rhs);
|
||||
//pragma(intrinsic, "llvm.umul.with.overflow.i#")
|
||||
// OverflowRet!(T) llvm_umul_with_overflow(T)(T lhs, T rhs);
|
||||
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user