Fixes PR51605 in which a DAG combine and legalization sequence generated
out-of-range constants in BUILD_VECTOR lanes. In the v16i8 case, the constants
were 255, which would be in range if DAG ISel used unsigned constants, but it is
out of range because DAG ISel uses signed constants.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | ||
---|---|---|
2055 | as we discussed offline, maybe we could turn the first half of this expression into an assert. |
llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | ||
---|---|---|
2055 | Extra condition looks good. It might still be a good idea to do the assert though. |
as we discussed offline, maybe we could turn the first half of this expression into an assert.
It might be nice if we could give names to any other of these subexpressions, but I don't know what any of them would be...