r372014 - [Clang][Codegen] Relax available-externally-suppress.c test
Roman Lebedev via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 10:46:01 PDT 2019
Author: lebedevri
Date: Mon Sep 16 10:46:01 2019
New Revision: 372014
URL: http://llvm.org/viewvc/llvm-project?rev=372014&view=rev
Log:
[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.
Modified:
cfe/trunk/test/CodeGen/available-externally-suppress.c
Modified: cfe/trunk/test/CodeGen/available-externally-suppress.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/available-externally-suppress.c?rev=372014&r1=372013&r2=372014&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/available-externally-suppress.c (original)
+++ cfe/trunk/test/CodeGen/available-externally-suppress.c Mon Sep 16 10:46:01 2019
@@ -30,10 +30,8 @@ inline int __attribute__((always_inline)
// 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);
More information about the cfe-commits
mailing list