[PowerPC] Recommit r340016 after fixing the reported issue
commitb4aa55042af49681c3a08e15721e6f8f98528f5f
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 27 Aug 2018 11:20:27 +0000 (27 11:20 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Mon, 27 Aug 2018 11:20:27 +0000 (27 11:20 +0000)
tree10208321f81614a644c618af90734cc77b3812cd
parent4f41153e8473c0be46cd403a6daf67ae087f26f4
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340734 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstr64Bit.td
lib/Target/PowerPC/PPCInstrInfo.td
test/CodeGen/PowerPC/extswsli.ll [new file with mode: 0644]