This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Handle errors in getRegFor{Uns,S}ignedValue.
AbandonedPublic

Authored by sunfish on Oct 24 2017, 12:23 PM.

Details

Reviewers
None
Summary

This fixes bug 35064, though it needs a reduced testcase still.

Diff Detail

Repository
rL LLVM

Event Timeline

sunfish created this revision.Oct 24 2017, 12:23 PM

ConstantExpr are not handled by FastISel.

Similar checks should be added inside WebAssemblyFastISel::selectSExt and WebAssemblyFastISel::selectZExt

Thanks.

sunfish abandoned this revision.Nov 27 2017, 9:37 PM

Fixed in r319144, along with selectSExt and selectZExt, and I fixed a few other places that needed similar changes as well. Thanks!