mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
ca68c4db42
For example, it invalidates the domtree, causing assertions in later passes which need dominator infos. Make it preserve GlobalsAA, as suggested by Eli. Differential Revision: https://reviews.llvm.org/D26381 llvm-svn: 286271
12 lines
381 B
LLVM
12 lines
381 B
LLVM
; We need this pipeline because to trigger dominator info verification
|
|
; we have to compute the dominator before libcalls-shrinkwrap and
|
|
; have a pass which requires the dominator tree after.
|
|
; RUN: opt -domtree -libcalls-shrinkwrap -instcombine -verify-dom-info %s
|
|
|
|
define void @main() {
|
|
%_tmp31 = call float @acosf(float 2.000000e+00)
|
|
ret void
|
|
}
|
|
|
|
declare float @acosf(float)
|