HomePhabricator

[PowerPC] Fix the assert of combineBVOfConsecutiveLoads when element num is 1

Description

[PowerPC] Fix the assert of combineBVOfConsecutiveLoads when element num is 1
Building a vector out of multiple loads can be converted to a load of the vector type if the loads are consecutive.
But the special condition is that the element number is 1, such as <1 x i128>. So just early exit to fix the assert.

Patch By: wuzish (Zixuan Wu)
Differential Revision: https://reviews.llvm.org/D52072

Details

Committed
qshanzSep 19 2018, 8:09 PM
Differential Revision
D52072: [PowerPC] Fix the assert of combineBVOfConsecutiveLoads when element num is 1
Parents
rL342610: [WebAssembly] Renumber SIMD ops
Branches
Unknown
Tags
Unknown