Page MenuHomePhabricator

[mlir][StandardToSPIRV] Add support for lowering std.xor on bool to SPIR-V
ClosedPublic

Authored by hanchung on Apr 19 2021, 11:10 PM.

Details

Summary

std.xor ops on bool are lowered to spv.LogicalNotEqual. For Boolean values, xor
and not-equal are the same thing.

Diff Detail

Event Timeline

hanchung created this revision.Apr 19 2021, 11:10 PM
hanchung requested review of this revision.Apr 19 2021, 11:10 PM
antiagainst accepted this revision.Apr 20 2021, 5:27 AM
This revision is now accepted and ready to land.Apr 20 2021, 5:27 AM