forked from OSchip/llvm-project
[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. llvm-svn: 372014
This commit is contained in:
parent
3df0daddfd
commit
b9909ffed8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue