[PATCH] D29200: [JumpThread] Enhance finding partial redundant loads by continuing scanning single predecessor

Z. Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 14:29:19 PST 2017


zzheng added inline comments.


================
Comment at: include/llvm/Analysis/Loads.h:89
+                                bool *IsLoadCSE = nullptr,
+                                unsigned *NumScanedInst = nullptr);
 
----------------
Can we use 
```
Optional<unsigned &> NumScannedInst
```
here?


https://reviews.llvm.org/D29200





More information about the llvm-commits mailing list