r201742 - Updated to r201734. Removed unused declaration from lit test.
Warren Hunt
whunt at google.com
Wed Feb 19 15:57:54 PST 2014
Author: whunt
Date: Wed Feb 19 17:57:54 2014
New Revision: 201742
URL: http://llvm.org/viewvc/llvm-project?rev=201742&view=rev
Log:
Updated to r201734. Removed unused declaration from lit test.
Also updating lit test to be more roboust (changing fixed offsets to
flexible offsets)
Modified:
cfe/trunk/test/CodeGen/ms-builtins.c
Modified: cfe/trunk/test/CodeGen/ms-builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ms-builtins.c?rev=201742&r1=201741&r2=201742&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-builtins.c (original)
+++ cfe/trunk/test/CodeGen/ms-builtins.c Wed Feb 19 17:57:54 2014
@@ -1,6 +1,5 @@
// RUN: %clang_cc1 -triple=i686-unknown-unknown -fms-extensions -emit-llvm -o - %s | FileCheck %s
-extern void printf(const char*, ...);
void f(char *a, volatile long* b) {
_mm_prefetch(a, 0);
_mm_prefetch(a, 1);
@@ -12,10 +11,10 @@ void f(char *a, volatile long* b) {
_InterlockedExchangeAdd(b, 2);
};
-// CHECK: call void @llvm.prefetch(i8* %1, i32 0, i32 0, i32 1)
-// CHECK: call void @llvm.prefetch(i8* %3, i32 0, i32 1, i32 1)
-// CHECK: call void @llvm.prefetch(i8* %5, i32 0, i32 2, i32 1)
-// CHECK: call void @llvm.prefetch(i8* %7, i32 0, i32 3, i32 1)
+// CHECK: call void @llvm.prefetch(i8* %{{.*}}, i32 0, i32 0, i32 1)
+// CHECK: call void @llvm.prefetch(i8* %{{.*}}, i32 0, i32 1, i32 1)
+// CHECK: call void @llvm.prefetch(i8* %{{.*}}, i32 0, i32 2, i32 1)
+// CHECK: call void @llvm.prefetch(i8* %{{.*}}, i32 0, i32 3, i32 1)
// CHECK: cmpxchg
// CHECK: atomicrmw volatile add
// CHECK: atomicrmw volatile sub
More information about the cfe-commits
mailing list