Commit e32afde
authored
[LegalizeVectorOps] Use getBoolConstant instead of getAllOnesConstant in VectorLegalizer::UnrollVSETCC. (llvm#121526)
This code should follow the target preference for boolean contents of a
vector type. We shouldn't assume that true is negative one.1 parent a106ad0 commit e32afde
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2246 | 2246 | | |
2247 | 2247 | | |
2248 | 2248 | | |
| 2249 | + | |
2249 | 2250 | | |
2250 | 2251 | | |
2251 | 2252 | | |
2252 | 2253 | | |
2253 | | - | |
| 2254 | + | |
| 2255 | + | |
2254 | 2256 | | |
2255 | 2257 | | |
2256 | 2258 | | |
| |||
0 commit comments