HomePhabricator

[WebAssembly] i32.const operands should be signed

Description

[WebAssembly] i32.const operands should be signed

Summary:
This was causing large addresses to be emitted as negative numbers,
which rightfully caused crashes in binaryen.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64612

Details

Committed
tlivelyJul 12 2019, 10:55 AM
Differential Revision
D64612: [WebAssembly] i32.const operands should be signed
Parents
rL365929: [X86] Add NEG to isUseDefConvertible.
Branches
Unknown
Tags
Unknown