]> granicus.if.org Git - llvm/commit
[NFC][PowerPC] Return early if the element type is not byte-sized in combineBVOfConse...
authorKang Zhang <shkzhang@cn.ibm.com>
Thu, 2 May 2019 08:15:13 +0000 (08:15 +0000)
committerKang Zhang <shkzhang@cn.ibm.com>
Thu, 2 May 2019 08:15:13 +0000 (08:15 +0000)
commitde63356ef336e265a05b48dca1d64f5c3f1a1ba8
treea7d09fc219f906730caf1877b5bdf92f8403a265
parentc69acccf9709e8a1812495403bf4aeecc9c1ab2e
[NFC][PowerPC] Return early if the element type is not byte-sized in combineBVOfConsecutiveLoads

Summary:
Based on the Eli Friedman's comments in https://reviews.llvm.org/D60811 , we'd better return early if the element type is not byte-sized in `combineBVOfConsecutiveLoads`.

Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D61076

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359764 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp