r303030 - Silence buildbots by tweaking an IR codegen test to be less specific w register names.

Faisal Vali via cfe-commits cfe-commits at lists.llvm.org
Sun May 14 19:56:02 PDT 2017


Author: faisalv
Date: Sun May 14 21:56:02 2017
New Revision: 303030

URL: http://llvm.org/viewvc/llvm-project?rev=303030&view=rev
Log:
Silence buildbots by tweaking an IR codegen test to be less specific w register names.

Modified:
    cfe/trunk/test/CodeGenCXX/vla.cpp

Modified: cfe/trunk/test/CodeGenCXX/vla.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vla.cpp?rev=303030&r1=303029&r2=303030&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/vla.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/vla.cpp Sun May 14 21:56:02 2017
@@ -104,7 +104,7 @@ void test3(int b, int c) {
   //CHECK-NEXT: [[VLA_SIZEOF_DIM2:%.*]] = mul nuw i64 4, [[VLA_DIM2_PRE]]
   //CHECK-NEXT: [[VLA_NUM_ELEMENTS:%.*]] = udiv i64 [[VLA_SIZEOF]], [[VLA_SIZEOF_DIM2]]
   //CHECK-NEXT: [[VLA_END_INDEX:%.*]] = mul nsw i64 [[VLA_NUM_ELEMENTS]], [[VLA_DIM2_PRE]]
-  //CHECK-NEXT: [[VLA_END_PTR:%.*]] = getelementptr inbounds i32, i32* %7, i64 [[VLA_END_INDEX]]
+  //CHECK-NEXT: [[VLA_END_PTR:%.*]] = getelementptr inbounds i32, i32* {{%.*}}, i64 [[VLA_END_INDEX]]
   //CHECK-NEXT: store i32* [[VLA_END_PTR]], i32** %__end
  
   for (auto &d : varr) 0;




More information about the cfe-commits mailing list