Skip to content

Commit 74f6ae9

Browse files
committed
[LTO] Require asserts for discard-value-names.ll test.
The test requires asserts, as it depends on the default value for -lto-discard-value-names at the moment.
1 parent 01ba627 commit 74f6ae9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/test/tools/lto/discard-value-names.ll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -dylib -arch x86_64 -macos_version_min 10.10.0 -o %t.dylib %t.o -save-temps -undefined dynamic_lookup -exported_symbol _bar -lSystem -mllvm -lto-discard-value-names=false
66
; RUN: llvm-dis %t.dylib.lto.opt.bc -o - | FileCheck --check-prefix=KEEP %s
77

8+
; The test requires asserts, as it depends on the default value for
9+
; -lto-discard-value-names at the moment.
810
; FIXME: -lto-discard-value-names is ignored at the moment.
11+
12+
; REQUIRES: asserts
13+
914
; DISCARD: %cmp.i = icmp
1015
; DISCARD: %add = add i32
1116

0 commit comments

Comments
 (0)