mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
9579593784
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286271 91177308-0d34-0410-b5e6-96231b3b80d8
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)
|