This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Use splitBlock instread of createBlock in GenericAtomicRMWLowering.
ClosedPublic

Authored by pifon2a on Mar 13 2023, 12:34 AM.

Details

Summary

When generic_atomic_rmw is inside of memref.alloca_scope, then the pattern would fail.

Diff Detail

Event Timeline

pifon2a created this revision.Mar 13 2023, 12:34 AM
pifon2a requested review of this revision.Mar 13 2023, 12:34 AM
ftynse accepted this revision.Mar 13 2023, 10:02 AM
This revision is now accepted and ready to land.Mar 13 2023, 10:02 AM