mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
54bca0cb09
This reverts commit 5b55a47e94
.
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
|
|
|