summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-07-08 19:48:52 +0000
committerSanjay Patel <spatel@rotateright.com>2019-07-08 19:48:52 +0000
commit3dee113ebcb34f3b50916001593df879b6de21c9 (patch)
tree5843ea319fa7909f7d8592958a336fdc52b9d7cf /llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
parent8561844321f2e06c6fcdb64e6e4fd16bbe3c5939 (diff)
downloadbcm5719-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/WebAssemblyCFGSort.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud