This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Fixup main signature by default
ClosedPublic

Authored by sbc100 on Oct 18 2018, 6:39 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Oct 18 2018, 6:39 AM

I'm not sure why the logic here was this was around in the first place: an option that defaults to true but which is active when it is set to false. I think its historical. Anyway I think we want this behaviour by default now.

Can we remove the optional altogether now, and just always do the fixup?

I guess we could do that yes. I thought it might be good to leave this option in there at least for while, but maybe its better to add it if we find we need it.

sbc100 updated this revision to Diff 171847.Oct 30 2018, 5:29 PM
  • remove option
dschuff accepted this revision.Nov 1 2018, 12:30 PM

At some point I could imagine a frontend possibly wanting to opt out of this pass entirely, but we can always add that option in the future.

This revision is now accepted and ready to land.Nov 1 2018, 12:30 PM
This revision was automatically updated to reflect the committed changes.