[PATCH] D58242: Teach instcombine about remaining idemptotent atomicrmw types
JF Bastien via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 14 10:40:08 PST 2019
jfb accepted this revision.
jfb added a comment.
For the idempotent RMW, `atomicrmw or, ptr, 0` sgtm. I assume that you'd do the same for floating-point (with a cast)? I wonder if in the long run we'd actually just want a separate instruction for this...
CHANGES SINCE LAST ACTION
More information about the llvm-commits