Skip to content

Commit

Permalink
[Clang][Codegen] Relax available-externally-suppress.c test
Browse files Browse the repository at this point in the history
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.

llvm-svn: 372014
  • Loading branch information
LebedevRI committed Sep 16, 2019
1 parent 3df0dad commit b9909ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clang/test/CodeGen/available-externally-suppress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b9909ff

Please sign in to comment.