diff options
| author | Kai Luo <lkail@cn.ibm.com> | 2019-08-02 03:14:17 +0000 |
|---|---|---|
| committer | Kai Luo <lkail@cn.ibm.com> | 2019-08-02 03:14:17 +0000 |
| commit | fec7da8285b1e41fcf524c42f389f1cd87a2690f (patch) | |
| tree | d3f39857549782e4c96c0d49c88e06c25159e126 /llvm/lib/Transforms/Vectorize | |
| parent | 038dd43782b0ecaf988f0420dc6331b06bb77958 (diff) | |
| download | bcm5719-llvm-fec7da8285b1e41fcf524c42f389f1cd87a2690f.tar.gz bcm5719-llvm-fec7da8285b1e41fcf524c42f389f1cd87a2690f.zip | |
[PowerPC][Peephole] Check if `extsw`'s second operand is a virtual register
Summary:
When combining `extsw` and `sldi` in `PPCMIPeephole`, we have to check
if `extsw`'s second operand is a virtual register, otherwise we might
get miscompile.
Differential Revision: https://reviews.llvm.org/D65315
llvm-svn: 367645
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
0 files changed, 0 insertions, 0 deletions

