[all-commits] [llvm/llvm-project] 8eb40e: [PowerPC] Don't generate ST_VSR_SCAL_INT if power8...
bzEq via All-commits
all-commits at lists.llvm.org
Tue Mar 31 19:49:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8eb40e41f6ec99985a292e342ec303a0bd6f5f41
https://github.com/llvm/llvm-project/commit/8eb40e41f6ec99985a292e342ec303a0bd6f5f41
Author: Kai Luo <lkail at cn.ibm.com>
Date: 2020-04-01 (Wed, 01 Apr 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/pr45297.ll
Log Message:
-----------
[PowerPC] Don't generate ST_VSR_SCAL_INT if power8-vector is disabled
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
More information about the All-commits
mailing list