diff options
| author | Craig Topper <craig.topper@sifive.com> | 2021-06-09 07:08:16 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2021-06-09 07:08:17 -0700 |
| commit | 765ef4bb2af604ea2bbd6c1bffaa6e1600804c9e (patch) | |
| tree | 6f2bb5f0847db5d1b45532579e93c7f29652bfc9 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
| parent | dd763ac79196b3d3bc0370b9dbd35e0c083e52a4 (diff) | |
| download | llvm-765ef4bb2af604ea2bbd6c1bffaa6e1600804c9e.zip llvm-765ef4bb2af604ea2bbd6c1bffaa6e1600804c9e.tar.gz llvm-765ef4bb2af604ea2bbd6c1bffaa6e1600804c9e.tar.bz2 | |
[X86] Check destination element type before forming VTRUNCS/VTRUNCUS in combineTruncateWithSat.
Fixes crash reported here https://reviews.llvm.org/D73607
Using a store to keep the trunc intact. Returning v16i24 would
cause the trunc to be optimized away in SelectionDAGBuilder.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D103940
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
