[PowerPC] Recommit r340016 after fixing the reported issue
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 27 Aug 2018 11:20:27 +0000 (11:20 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 27 Aug 2018 11:20:27 +0000 (11:20 +0000)
commitf2588a28a84e80cb6f4d95da6d84bee060ae43ec
tree2237e7baea97481e288e7f47f570e634df82ff67
parent2739596063a914f4a1918bde30e72d50fea856c2
[PowerPC] Recommit r340016 after fixing the reported issue

The internal benchmark failure reported by Google was due to a missing
check for the result type for the sign-extend and shift DAG. This commit
adds the check and re-commits the patch.

llvm-svn: 340734
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/lib/Target/PowerPC/PPCInstr64Bit.td
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/test/CodeGen/PowerPC/extswsli.ll [new file with mode: 0644]