summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-06-26 16:19:59 +0000
committerThomas Lively <tlively@google.com>2019-06-26 16:19:59 +0000
commit7663e0cd7dbb2d8c4dd1f445f7818ac4ebc02c99 (patch)
tree6ce594b3343b4ab0eade134443d4b11ca368b338 /llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
parenta1d97a960e622ee21550d92809512cb0870be499 (diff)
downloadbcm5719-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/MachineOptimizationRemarkEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud