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

Abderrazek Zaafrani via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 15:00:49 PDT 2016


az added a comment.

What is posted here is a sub-pass in the backend peephole optimizer. The code implementing this optimization is in AArch64/AArch64InstrInfo.cpp. This is very similar to the optimizations optimizeCondBranch(), or optimizeCmpInstr () where both are sub-passes of peephole and the main implementation is in AArch64/AArch64InstrInfo.cpp. I can leave it mainly as is with minor modification such as moving the code to some other file or even a new file. I am also perfectly fine with creating a new pass. This optimization does not deserve, in my opinion, a new pass but it may be good idea to create a new pass so that we can include future similar optimizations in there. Let me know what you think. Thanks for looking at this.


https://reviews.llvm.org/D21571





More information about the llvm-commits mailing list