llvm-project/llvm/test/tools/llvm-reduce/remove-unnamed-addr.ll
Arthur Eubanks f54a8759f0 [llvm-reduce] Reduce more GlobalValue properties
Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D112885
2021-11-02 08:47:41 -07:00

8 lines
365 B
LLVM

; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=global-values --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
; RUN: FileCheck --check-prefix=CHECK-FINAL %s --input-file=%t
; CHECK-INTERESTINGNESS: @g = {{.*}}global i32
; CHECK-FINAL: @g = global i32
@g = unnamed_addr global i32 0