From 09b7007afd70bf44c975e35ffc430b038005938c Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Mon, 16 Sep 2019 17:46:01 +0000 Subject: [PATCH] [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 --- test/CodeGen/available-externally-suppress.c | 2 -- 1 file changed, 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); -- 2.50.1