summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/pr45297.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Don't generate ST_VSR_SCAL_INT if power8-vector is disabledKai Luo2020-04-221-2/+11
| | | | | | | | | | | | | Summary: In https://bugs.llvm.org/show_bug.cgi?id=45297, it fails selecting instructions for `PPCISD::ST_VSR_SCAL_INT`. The reason it generate the `PPCISD::ST_VSR_SCAL_INT` with `-power8-vector` in IR is PPC's combiner checks `hasP8Altivec` rather than `hasP8Vector`. This patch should resolve PR45297. Differential Revision: https://reviews.llvm.org/D76773 (cherry picked from commit 8eb40e41f6ec99985a292e342ec303a0bd6f5f41)
* [PowerPC] Fix test for PR45297 to adapt build without asserts. NFC.Kai Luo2020-04-221-1/+1
| | | | (cherry picked from commit 26b46b67d806a5299a93b1b3bca1548cb47487ff)
* [PowerPC] Enhance test for PR45297. NFC.Kai Luo2020-04-221-4/+7
| | | | (cherry picked from commit 351b19231554d4dba29c42c798176f1ff3286a32)
* [PowerPC] Pre-commit reduced test case for PR45297. NFC.Kai Luo2020-04-221-0/+10
(cherry picked from commit 70f9f4dd9d19ed2cec0d9adf60fede9401898b85)
OpenPOWER on IntegriCloud