This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Convert math.ctlz to spv.GLSL.FindUMsb
ClosedPublic

Authored by antiagainst on Jun 11 2022, 5:52 PM.

Diff Detail

Event Timeline

antiagainst created this revision.Jun 11 2022, 5:52 PM
antiagainst requested review of this revision.Jun 11 2022, 5:52 PM

Add some negative tests

ThomasRaoux accepted this revision.Jun 13 2022, 9:58 AM
ThomasRaoux added inline comments.
mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
41

nit: remove braces for single line if

This revision is now accepted and ready to land.Jun 13 2022, 9:58 AM
antiagainst marked an inline comment as done.Jun 13 2022, 10:03 AM
This revision was landed with ongoing or failed builds.Jun 13 2022, 10:03 AM
This revision was automatically updated to reflect the committed changes.