From 8ff56f608065b5521c1fc66f769a2a0c79c4fbd8 Mon Sep 17 00:00:00 2001 From: Keith Walker Date: Thu, 17 Apr 2014 13:04:53 +0000 Subject: [PATCH] Fix Profile:cxx-lambda.cpp test for targets that do not generate zeroext Change an expected match to allow for the fact that some targets may not generated the zeroext operation. llvm-svn: 206467 --- clang/test/Profile/cxx-lambda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Profile/cxx-lambda.cpp b/clang/test/Profile/cxx-lambda.cpp index 1389f024c489..fedb1019e767 100644 --- a/clang/test/Profile/cxx-lambda.cpp +++ b/clang/test/Profile/cxx-lambda.cpp @@ -18,8 +18,8 @@ void lambdas() { int i = 1; - // LMBGEN-LABEL: define internal zeroext i1 @"_ZZ7lambdasvENK3$_0clEi"( - // LMBUSE-LABEL: define internal zeroext i1 @"_ZZ7lambdasvENK3$_0clEi"( + // LMBGEN-LABEL: define internal{{( zeroext)?}} i1 @"_ZZ7lambdasvENK3$_0clEi"( + // LMBUSE-LABEL: define internal{{( zeroext)?}} i1 @"_ZZ7lambdasvENK3$_0clEi"( // LMBGEN: store {{.*}} @[[LFC]], i64 0, i64 0 auto f = [&i](int k) { // LMBGEN: store {{.*}} @[[LFC]], i64 0, i64 1