3 Commits

Author SHA1 Message Date
Nemanja Ivanovic
b4aa55042a [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
2018-08-27 11:20:27 +00:00
Eric Christopher
70801a9fac Temporarily Revert "[PowerPC] Generate Power9 extswsli extend sign and shift immediate instruction" due to it causing a compiler crash on valid.
This reverts commit r340016, testcase forthcoming.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340315 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-21 18:35:08 +00:00
Nemanja Ivanovic
ac879930f8 [PowerPC] Generate Power9 extswsli extend sign and shift immediate instruction
Add a DAG combine for the PowerPC code generator to generate the Power9 extswsli
extend sign and shift immediate instruction.

Patch by RolandF.

Differential revision: https://reviews.llvm.org/D49879


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340016 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-17 12:35:44 +00:00