diff options
author | QingShan Zhang <qshanz@cn.ibm.com> | 2018-09-20 03:09:15 +0000 |
---|---|---|
committer | QingShan Zhang <qshanz@cn.ibm.com> | 2018-09-20 03:09:15 +0000 |
commit | cae9425a3c4a2af6a306c1aa5c8acfd27136f3fc (patch) | |
tree | e3ff984758903c788149407e756635da04e7c8f1 /llvm/utils/unittest/googlemock/include | |
parent | f45de47c59680c57939cdc55952afcebf2e90bfe (diff) | |
download | bcm5719-llvm-cae9425a3c4a2af6a306c1aa5c8acfd27136f3fc.tar.gz bcm5719-llvm-cae9425a3c4a2af6a306c1aa5c8acfd27136f3fc.zip |
[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
Diffstat (limited to 'llvm/utils/unittest/googlemock/include')
0 files changed, 0 insertions, 0 deletions