diff options
author | Keith Walker <kwalker@arm.com> | 2014-04-17 13:04:53 +0000 |
---|---|---|
committer | Keith Walker <kwalker@arm.com> | 2014-04-17 13:04:53 +0000 |
commit | 8ff56f608065b5521c1fc66f769a2a0c79c4fbd8 (patch) | |
tree | 17c02e174bcfc3918a96c31cdc005756f165e58f /clang/test/Profile/cxx-lambda.cpp | |
parent | dbb67c46db53a85132e40020ea87cab66ef99cc6 (diff) | |
download | llvm-8ff56f608065b5521c1fc66f769a2a0c79c4fbd8.zip llvm-8ff56f608065b5521c1fc66f769a2a0c79c4fbd8.tar.gz llvm-8ff56f608065b5521c1fc66f769a2a0c79c4fbd8.tar.bz2 |
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
Diffstat (limited to 'clang/test/Profile/cxx-lambda.cpp')
-rw-r--r-- | clang/test/Profile/cxx-lambda.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Profile/cxx-lambda.cpp b/clang/test/Profile/cxx-lambda.cpp index 1389f02..fedb101 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 |