[PATCH] D155386: [WebAssembly] Select BUILD_VECTOR with large unsigned lane values
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 17 12:50:13 PDT 2023
aheejin added inline comments.
================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td:53
def ImmI#SIZE : ImmLeaf<i32,
- "return -(1 << ("#SIZE#" - 1)) <= Imm && Imm < (1 << ("#SIZE#" - 1));"
+ "return -(1 << ("#SIZE#" - 1)) <= Imm && Imm < (1 << "#SIZE#");"
>;
----------------
Why are the negative range and the positive range different?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155386/new/
https://reviews.llvm.org/D155386
More information about the llvm-commits
mailing list