[PATCH] D150670: [WebAssembly] Disable generation of fshl/fshr for rotates
Derek Schuff via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 16 11:19:07 PDT 2023
dschuff added a comment.
FWIW X86 seems to do something similar elsewhere in this file (https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CGBuiltin.cpp#L985-L986), although it doesn't seem common otherwise. I think I'd be OK with this approach (and it does seem better than trying to mess with instcombine or a new TTI hook or something)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150670/new/
https://reviews.llvm.org/D150670
More information about the cfe-commits
mailing list