diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-09-16 17:46:01 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-09-16 17:46:01 +0000 |
commit | 09b7007afd70bf44c975e35ffc430b038005938c (patch) | |
tree | 8a46fef206430f558d61bc8ca4e6198fa09ead75 /test/CodeGen | |
parent | c463cf8d624358e6d711e2153f4154a4784553c9 (diff) |
[Clang][Codegen] Relax available-externally-suppress.c test
That test is broken by design.
It depends on llvm middle-end behavior.
No clang codegen test should be doing that.
This one is salvageable by relaxing check lines.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/available-externally-suppress.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/CodeGen/available-externally-suppress.c b/test/CodeGen/available-externally-suppress.c index 55f85ad250..1e79750fb9 100644 --- a/test/CodeGen/available-externally-suppress.c +++ b/test/CodeGen/available-externally-suppress.c @@ -30,10 +30,8 @@ inline int __attribute__((always_inline)) f1(int x) { // CHECK: @test1 // LTO: @test1 int test1(int x) { - // CHECK: br i1 // CHECK-NOT: call {{.*}} @f1 // CHECK: ret i32 - // LTO: br i1 // LTO-NOT: call {{.*}} @f1 // LTO: ret i32 return f1(x); |