mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-19 12:33:51 +00:00

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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212550 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
|