diff options
author | Kai Luo <lkail@cn.ibm.com> | 2020-04-01 02:15:25 +0000 |
---|---|---|
committer | Kai Luo <lkail@cn.ibm.com> | 2020-04-01 02:15:25 +0000 |
commit | 8eb40e41f6ec99985a292e342ec303a0bd6f5f41 (patch) | |
tree | 5a81da5928db88e7f1456f37ff364d6a9a2855fe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d0efd7bfcf689c2a72664265e59dd7a3e1a52762 (diff) | |
download | llvm-8eb40e41f6ec99985a292e342ec303a0bd6f5f41.zip llvm-8eb40e41f6ec99985a292e342ec303a0bd6f5f41.tar.gz llvm-8eb40e41f6ec99985a292e342ec303a0bd6f5f41.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions