From: Roman Lebedev Date: Mon, 16 Sep 2019 17:46:01 +0000 (+0000) Subject: [Clang][Codegen] Relax available-externally-suppress.c test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09b7007afd70bf44c975e35ffc430b038005938c;p=clang [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 --- 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);