[PATCH] D48130: [AtomicExpandPass]: Add a hook for custom cmpxchg expansion in IR
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 18 07:18:00 PDT 2018
asb added a comment.
In https://reviews.llvm.org/D48130#1132313, @t.p.northover wrote:
> It seems a bit of a shame to hide that masked expansion away in lib/Target/RISCV when MIPS (at least) needs similar logic. I suppose someone who wants to refactor MIPS can move it out again though.
I agree. I've restructured things so that as much masked expansion as possible is in AtomicExpandPass and can be reused across targets.
https://reviews.llvm.org/D48130
More information about the llvm-commits
mailing list