This is an archive of the discontinued LLVM Phabricator instance.

[Instruction] Split out 'and' of non-poison generating flags (NFC).
Needs RevisionPublic

Authored by fhahn on Dec 10 2021, 8:05 AM.

Details

Summary

This patch moves the code to perform a logical and of non-poison
generating flags out to a separate helper, to be used in D115247.

Diff Detail

Event Timeline

fhahn created this revision.Dec 10 2021, 8:05 AM
fhahn requested review of this revision.Dec 10 2021, 8:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 10 2021, 8:05 AM
reames requested changes to this revision.Dec 10 2021, 8:23 AM

Per LangRef, nnan and ninf are poison generating. The handling on the other FMF flags is unclear to me, but looking at the use case, I'd probably restrict to non-float as a starting point,

This revision now requires changes to proceed.Dec 10 2021, 8:23 AM