Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

18 lines
490 B
LLVM

; RUN: opt < %s -instcombine -S | FileCheck %s
define double @mypow(double %x, double %y) #0 {
entry:
%call = call double @exp(double %x)
%pow = call double @llvm.pow.f64(double %call, double %y)
ret double %pow
}
; CHECK-LABEL: define double @mypow(
; CHECK: %call = call double @exp(double %x)
; CHECK: %pow = call double @llvm.pow.f64(double %call, double %y)
; CHECK: ret double %pow
; CHECK: }
declare double @exp(double) #1
declare double @llvm.pow.f64(double, double)