mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
8bed9fa904
If dominator tree has no roots, the pass that calculates it is likely to be skipped. It occures, for instance, in the case of entities with linkage available_externally. Do not run tree verification in such case. Differential Revision: https://reviews.llvm.org/D28767 llvm-svn: 293033
11 lines
281 B
LLVM
11 lines
281 B
LLVM
; RUN: llc -verify-machine-dom-info < %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
|
|
|