diff runtime/import/ldc/intrinsics.di @ 1359:34f2fd925de3

Intrinsics shouldn't see struct padding, so use a special TargetABI for them that removes it. This unbreaks the `llvm_*_with_overflow` intrinsics.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 16 May 2009 13:06:49 +0200
parents 4e388d9d0e25
children
line wrap: on
line diff
--- a/runtime/import/ldc/intrinsics.di	Fri May 15 17:17:20 2009 +0200
+++ b/runtime/import/ldc/intrinsics.di	Sat May 16 13:06:49 2009 +0200
@@ -396,8 +396,8 @@
  *
  * 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);
 
 
 //