You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
14
external/llvm/test/Transforms/InstCombine/pow-2.ll
vendored
Normal file
14
external/llvm/test/Transforms/InstCombine/pow-2.ll
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
; Test that the pow library call simplifier works correctly.
|
||||
;
|
||||
; RUN: opt < %s -instcombine -S | FileCheck %s
|
||||
|
||||
declare float @pow(double, double)
|
||||
|
||||
; Check that pow functions with the wrong prototype aren't simplified.
|
||||
|
||||
define float @test_no_simplify1(double %x) {
|
||||
; CHECK-LABEL: @test_no_simplify1(
|
||||
%retval = call float @pow(double 1.0, double %x)
|
||||
; CHECK-NEXT: call float @pow(double 1.000000e+00, double %x)
|
||||
ret float %retval
|
||||
}
|
Reference in New Issue
Block a user