Skip to content
Commit cae9425a authored by QingShan Zhang's avatar QingShan Zhang
Browse files

[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

llvm-svn: 342611
parent f45de47c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment