[PATCH] D21571: [AArch64] Avoid generating indexed vector instructions for Exynos

Abderrazek Zaafrani via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 16:46:16 PDT 2016


az marked 5 inline comments as done.

================
Comment at: llvm/lib/Target/AArch64/AArch64VectorByElementOpt.cpp:264
@@ +263,3 @@
+    // has already been created before, then use that one instread of creating
+    // a new one.
+    if (!reuseDUP(MI, DupMCID->getOpcode(), SrcReg2, LaneNumber, &DupDest)) {
----------------
If DupDest is set in reuseDup (i.e. we found a dup instruction that we can reuse), then we are not re-setting it here given that reuseDup returns true. Otherwise, DupDest is set here. I added more comments in this new revision but I can rewrite this function to make things more clear if needed.  


https://reviews.llvm.org/D21571





More information about the llvm-commits mailing list