[PATCH] D28694: Hexagon-specific loop idiom recognition

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 10:18:17 PST 2017


mehdi_amini added inline comments.


================
Comment at: include/llvm/Transforms/IPO/PassManagerBuilder.h:106
+    /// target-independent loop idiom recognition pass.
+    EP_LoopIdiom,
+
----------------
Side note, but somehow related to the "too specific" aspect I mentioned,  I'd call it `EP_BeforeLoopIdiom` and I'd describe it:

```
/// This extension point allows adding passes before loop-idiom 
/// recognition passes. It can be used for example  by a target to
/// add a specific loop-idiom recognition passes.
```




Repository:
  rL LLVM

https://reviews.llvm.org/D28694





More information about the llvm-commits mailing list