aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKai Luo <lkail@cn.ibm.com>2020-04-01 02:15:25 +0000
committerKai Luo <lkail@cn.ibm.com>2020-04-01 02:15:25 +0000
commit8eb40e41f6ec99985a292e342ec303a0bd6f5f41 (patch)
tree5a81da5928db88e7f1456f37ff364d6a9a2855fe /clang/lib/Frontend/CompilerInvocation.cpp
parentd0efd7bfcf689c2a72664265e59dd7a3e1a52762 (diff)
downloadllvm-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