This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Remove dead code from LEB compression pass. NFC.
ClosedPublic

Authored by sbc100 on May 22 2018, 1:47 PM.

Details

Summary

There are only certain relocation types that can exist in the
wasm code section and they are all LEB types. Remove the dead
code for handling the other (I32) reloc types.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

sbc100 created this revision.May 22 2018, 1:47 PM
sbc100 retitled this revision from [WebAssembly] Remove dead code from LEB compression pass. to [WebAssembly] Remove dead code from LEB compression pass. NFC..May 22 2018, 1:48 PM
sbc100 added reviewers: ruiu, yurydelendik.
This revision is now accepted and ready to land.May 22 2018, 1:49 PM
ruiu accepted this revision.May 22 2018, 1:52 PM

LGTM

This revision was automatically updated to reflect the committed changes.