mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 10:39:21 +00:00
Add a testcase that would have noticed the typo fixed in commit 166475.
llvm-svn: 166547
This commit is contained in:
parent
18e40965aa
commit
1f4e159b01
@ -891,3 +891,12 @@ define double @test80([100 x double]* %p, i32 %i) {
|
||||
ret double %l
|
||||
; CHECK-NEXT: ret double
|
||||
}
|
||||
|
||||
define double @test81(double *%p, float %f) {
|
||||
%i = fptosi float %f to i64
|
||||
%q = bitcast double* %p to i8*
|
||||
%pp = getelementptr i8* %q, i64 %i
|
||||
%r = bitcast i8* %pp to double*
|
||||
%l = load double* %r
|
||||
ret double %l
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user