mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
fix PR9210 by implementing some type legalization logic for
vector fp conversions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -214,3 +214,11 @@ entry:
|
||||
store <4 x float> %2, <4 x float> * undef
|
||||
ret void
|
||||
}
|
||||
|
||||
; PR9210
|
||||
define <4 x float> @f(<4 x double>) nounwind {
|
||||
entry:
|
||||
%double2float.i = fptrunc <4 x double> %0 to <4 x float>
|
||||
ret <4 x float> %double2float.i
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user