This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Add fastmathFlags to SelectOp
ClosedPublic

Authored by Mogball on Mar 10 2023, 2:00 PM.

Details

Summary

select has fastmath flags, which were missing from the LLVM dialect op
definition.

Diff Detail

Event Timeline

Mogball created this revision.Mar 10 2023, 2:00 PM
Mogball requested review of this revision.Mar 10 2023, 2:00 PM
ftynse accepted this revision.Mar 11 2023, 9:39 AM

Could you check if the translation works in the opposite direction, too?

This revision is now accepted and ready to land.Mar 11 2023, 9:39 AM
gysit accepted this revision.Mar 11 2023, 11:50 PM

LGTM, the import fastmath tests are in /llvm-project/mlir/test/Target/LLVMIR/Import/fastmath.ll

Yep thanks for the suggestion

dcaballe accepted this revision.Mar 13 2023, 9:14 AM
Mogball updated this revision to Diff 505382.Mar 14 2023, 11:55 PM

add import test

This revision was landed with ongoing or failed builds.Mar 16 2023, 12:58 AM
This revision was automatically updated to reflect the committed changes.