[PATCH] D31772: [PowerPC] Add pass to expand extra memcpy calls

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 19:47:37 PDT 2017


hfinkel added inline comments.


================
Comment at: test/CodeGen/PowerPC/memcpy-loop-expansion.ll:163
+attributes #1 = { "target-cpu"="power7" }
+attributes #2 = { "target-cpu"="power8" optsize }
----------------
The code checks for pwr8, pwr9, etc. You should use that form here, I imagine, for the target cpu (I believe the short forms are indeed what the backend recognizes).


Repository:
  rL LLVM

https://reviews.llvm.org/D31772





More information about the llvm-commits mailing list