diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2019-07-08 19:48:52 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2019-07-08 19:48:52 +0000 |
| commit | 3dee113ebcb34f3b50916001593df879b6de21c9 (patch) | |
| tree | 5843ea319fa7909f7d8592958a336fdc52b9d7cf /llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td | |
| parent | 8561844321f2e06c6fcdb64e6e4fd16bbe3c5939 (diff) | |
| download | bcm5719-llvm-3dee113ebcb34f3b50916001593df879b6de21c9.tar.gz bcm5719-llvm-3dee113ebcb34f3b50916001593df879b6de21c9.zip | |
[InstCombine] fold insertelement into splat of same scalar
Forming the canonical splat shuffle improves analysis and
may allow follow-on transforms (although some possibilities
are missing as shown in the test diffs).
The backend generically turns these patterns into build_vector,
so there should be no codegen regressions. All targets are
expected to be able to lower splats efficiently.
llvm-svn: 365379
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td')
0 files changed, 0 insertions, 0 deletions

