diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2020-05-01 10:34:29 -0400 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2020-05-01 10:34:29 -0400 |
| commit | 57f0eed98d02cd684c358a45f68e716179f4bfa3 (patch) | |
| tree | 9a3f06c2ca6bbdaeead5da0055089164cc146087 /llvm/lib/Object/WasmObjectFile.cpp | |
| parent | c79a366ec0f87eafca123138b550b039618bf880 (diff) | |
| download | llvm-57f0eed98d02cd684c358a45f68e716179f4bfa3.zip llvm-57f0eed98d02cd684c358a45f68e716179f4bfa3.tar.gz llvm-57f0eed98d02cd684c358a45f68e716179f4bfa3.tar.bz2 | |
[InstSimplify] allow insertelement-with-undef fold if poison-safe
The more general fold was not poison-safe, so it was removed:
rG5486e00
...but it is ok to have this transform if analysis can determine
the vector contains no poison. The test shows a simple example
of that: constant integer elements are not poison.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
