r240479 - Fix test failure if this value doesn't end up named %0.

Richard Smith richard-llvm at metafoo.co.uk
Tue Jun 23 16:13:31 PDT 2015


Author: rsmith
Date: Tue Jun 23 18:13:31 2015
New Revision: 240479

URL: http://llvm.org/viewvc/llvm-project?rev=240479&view=rev
Log:
Fix test failure if this value doesn't end up named %0.

Modified:
    cfe/trunk/test/CodeGen/arm-microsoft-intrinsics.c

Modified: cfe/trunk/test/CodeGen/arm-microsoft-intrinsics.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-microsoft-intrinsics.c?rev=240479&r1=240478&r2=240479&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-microsoft-intrinsics.c (original)
+++ cfe/trunk/test/CodeGen/arm-microsoft-intrinsics.c Tue Jun 23 18:13:31 2015
@@ -51,13 +51,13 @@ void check_MoveToCoprocessor(unsigned in
   _MoveToCoprocessor(value, 10, 7, 1, 0, 0);
 }
 
-// CHECK-MSVC: @llvm.arm.mcr(i32 10, i32 7, i32 %0, i32 1, i32 0, i32 0)
+// CHECK-MSVC: @llvm.arm.mcr(i32 10, i32 7, i32 %{{[^,]*}}, i32 1, i32 0, i32 0)
 // CHECK-EABI: error: implicit declaration of function '_MoveToCoprocessor'
 
 void check_MoveToCoprocessor2(unsigned int value) {
   _MoveToCoprocessor2(value, 10, 7, 1, 0, 0);
 }
 
-// CHECK-MSVC: @llvm.arm.mcr2(i32 10, i32 7, i32 %0, i32 1, i32 0, i32 0)
+// CHECK-MSVC: @llvm.arm.mcr2(i32 10, i32 7, i32 %{{[^,]*}}, i32 1, i32 0, i32 0)
 // CHECK-EABI: error: implicit declaration of function '_MoveToCoprocessor2'
 





More information about the cfe-commits mailing list