[PATCH] D33243: [Atomics][LoopIdiom] Recognize unordered atomic memcpy

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 14:53:52 PDT 2017


reames added a comment.

LGTM again w/minor comment addressed before commit.



================
Comment at: include/llvm/Analysis/TargetTransformInfoImpl.h:429
+    // in RuntimeLibcalls.h
+    return 4;
+  }
----------------
Why 4?  0 would seem like a safer default.


https://reviews.llvm.org/D33243





More information about the llvm-commits mailing list