This is an archive of the discontinued LLVM Phabricator instance.

[mlir][NFC] Remove redundant check.
AbandonedPublic

Authored by jacquesguan on Mar 18 2022, 2:05 AM.

Diff Detail

Event Timeline

jacquesguan created this revision.Mar 18 2022, 2:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 2:05 AM
jacquesguan requested review of this revision.Mar 18 2022, 2:05 AM
ftynse requested changes to this revision.Mar 18 2022, 2:30 AM

It actually is not redundant. These operations can be used on vectors on tensors of floats, so the result type is not necessarily a FloatType and the folded attribute is not necessarily a FloatAttr.

This revision now requires changes to proceed.Mar 18 2022, 2:30 AM
jacquesguan abandoned this revision.Mar 20 2022, 6:53 PM