mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Added test case from PR1540.
llvm-svn: 39845
This commit is contained in:
parent
9166ad7658
commit
bb0c0f7335
11
test/CodeGen/SPARC/2007-07-05-LiveIntervalAssert.ll
Normal file
11
test/CodeGen/SPARC/2007-07-05-LiveIntervalAssert.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; RUN: llvm-as < %s | llc -march=sparc
|
||||
; PR1540
|
||||
|
||||
declare float @sinf(float)
|
||||
declare double @sin(double)
|
||||
define double @test_sin(float %F) {
|
||||
%G = call float @sinf( float %F ) ; <float> [#uses=1]
|
||||
%H = fpext float %G to double ; <double> [#uses=1]
|
||||
%I = call double @sin( double %H ) ; <double> [#uses=1]
|
||||
ret double %I
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user