diff options
| author | Thomas Lively <tlively@google.com> | 2019-06-26 16:19:59 +0000 |
|---|---|---|
| committer | Thomas Lively <tlively@google.com> | 2019-06-26 16:19:59 +0000 |
| commit | 7663e0cd7dbb2d8c4dd1f445f7818ac4ebc02c99 (patch) | |
| tree | 6ce594b3343b4ab0eade134443d4b11ca368b338 /llvm/lib/CodeGen/SpillPlacement.h | |
| parent | a1d97a960e622ee21550d92809512cb0870be499 (diff) | |
| download | bcm5719-llvm-7663e0cd7dbb2d8c4dd1f445f7818ac4ebc02c99.tar.gz bcm5719-llvm-7663e0cd7dbb2d8c4dd1f445f7818ac4ebc02c99.zip | |
[WebAssembly] Omit wrap on i64x2.{shl,shr*} ISel when possible
Summary:
Since the WebAssembly SIMD shift instructions take i32 operands, we
truncate the i64 operand to <2 x i64> shifts during ISel. When the i64
operand is sign extended from i32, this CL makes it so the sign
extension is dropped instead of a wrap instruction added.
Reviewers: dschuff, aheejin
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63615
llvm-svn: 364446
Diffstat (limited to 'llvm/lib/CodeGen/SpillPlacement.h')
0 files changed, 0 insertions, 0 deletions

