Home | History | Annotate | Download | only in GlobalDCE
      1 ; RUN: opt < %s -globaldce -S | FileCheck %s
      2 
      3 ; test_function should not be emitted to the .s file.
      4 ; CHECK-NOT: test_function
      5 define available_externally i32 @test_function() {
      6   ret i32 4
      7 }
      8 
      9 ; test_global should not be emitted to the .s file.
     10 ; CHECK-NOT: test_global
     11 @test_global = available_externally global i32 4
     12 
     13