OSDN Git Service

Try to fix the compilation error due to type incombatibility.
authorBill Wendling <isanbard@gmail.com>
Tue, 8 Mar 2011 19:39:35 +0000 (19:39 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 8 Mar 2011 19:39:35 +0000 (19:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127265 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/mmx-inline-asm.c

index ebfe3bb..f888d75 100644 (file)
@@ -3,10 +3,11 @@
 // XTARGET: x86,i386,i686
 // <rdar://problem/9091220>
 #include <mmintrin.h>
+#include <stdint.h>
 
 // CHECK: type { x86_mmx, x86_mmx, x86_mmx, x86_mmx, x86_mmx, x86_mmx, x86_mmx }
 
-void foo(long long fill) {
+void foo(int64_t fill) {
   __m64 vfill = _mm_cvtsi64_m64(fill);
   __m64 v1, v2, v3, v4, v5, v6, v7;