This is an archive of the discontinued LLVM Phabricator instance.

llvm-reduce: Support replacing FP values with 1.0
ClosedPublic

Authored by arsenm on Jun 9 2022, 8:23 AM.

Diff Detail

Event Timeline

arsenm created this revision.Jun 9 2022, 8:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2022, 8:23 AM
arsenm requested review of this revision.Jun 9 2022, 8:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2022, 8:23 AM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm updated this revision to Diff 435573.Jun 9 2022, 8:51 AM

Fix test

aeubanks accepted this revision.Jun 9 2022, 9:26 AM

lg if test comments are addressed

llvm/test/tools/llvm-reduce/remove-operands-fp.ll
42–44

these aren't used

48

these store aren't relevant to the test

56

was this meant to be zeroinitializer?

This revision is now accepted and ready to land.Jun 9 2022, 9:26 AM
arsenm marked 3 inline comments as done.Jun 9 2022, 11:19 AM
arsenm added inline comments.
llvm/test/tools/llvm-reduce/remove-operands-fp.ll
48

Still feels weird to be testing dead defs

56

Fixed and rounded out the set to check all of 0/1/undef/nan