Commit 0a376e8
committed
[X86] getConstVector - remove raw bits -> fp handling and leave it to getNode/FoldConstantArithmetic
getConstVector could only handle f32/f64 vector element types from raw APInt bit data - instead of trying to add all supported fp types, just bitcast the integer equivalent and leave it getNode/FoldConstantArithmetic to perform the constant bitcast conversion
Tentative fix for a regression reported after #1339131 parent 8a351f1 commit 0a376e8
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4014 | 4014 | | |
4015 | 4015 | | |
4016 | 4016 | | |
| 4017 | + | |
4017 | 4018 | | |
4018 | 4019 | | |
4019 | 4020 | | |
| |||
4024 | 4025 | | |
4025 | 4026 | | |
4026 | 4027 | | |
4027 | | - | |
4028 | | - | |
4029 | | - | |
4030 | | - | |
4031 | | - | |
4032 | | - | |
4033 | 4028 | | |
4034 | | - | |
| 4029 | + | |
4035 | 4030 | | |
4036 | 4031 | | |
4037 | 4032 | | |
| |||
0 commit comments