mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 21:42:54 +02:00
c040e932f0
This reverts commit 5b55a47e94e28fbb56d0cd5d72c3db9105c15b4c. A test case was found to crash after this was applied. I'll file a bug to track fixing this with the test case needed. llvm-svn: 212550
11 lines
270 B
LLVM
11 lines
270 B
LLVM
; RUN: opt < %s -globaldce -S | not grep test_
|
|
|
|
; test_function should not be emitted to the .s file.
|
|
define available_externally i32 @test_function() {
|
|
ret i32 4
|
|
}
|
|
|
|
; test_global should not be emitted to the .s file.
|
|
@test_global = available_externally global i32 4
|
|
|