This is an archive of the discontinued LLVM Phabricator instance.

bugpoint: Add option to disable attribute removal
ClosedPublic

Authored by arsenm on May 17 2019, 2:05 PM.

Details

Summary

This takes a long time and never reduces anything useful for me
(e.g. I've been waiting for 3 hours on a testcase and it hasn't found
any attributes to remove yet). This should probably start by assuming
no attributes matter, and adding back.

Diff Detail

Event Timeline

arsenm created this revision.May 17 2019, 2:05 PM
jdoerfert accepted this revision.May 17 2019, 2:11 PM
This revision is now accepted and ready to land.May 17 2019, 2:11 PM

Maybe it would be helpful to change when attribute removal runs? It would probably take a lot less time after unnecessary instructions are removed.

arsenm closed this revision.Nov 12 2019, 9:24 PM

f7b3c7f682de33704a887f74ee175375bf1eddf5

IME I often add attributes to reduce programs, so this might even be backwards

This seems to be missing from upstream? I'm not sure where I pushed this