HomePhabricator

[WebAssembly] i32.const operands should be signed

Authored by tlively on Jul 12 2019, 10:55 AM.

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

llvm-svn: 365930

Details

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