[PATCH] D50364: [LICM] Hoist assumes out of loops

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 6 18:57:32 PDT 2018


mkazantsev added inline comments.


================
Comment at: test/Transforms/LICM/assume.ll:36
 
 define void @f_1(i1 %cond, i32* %ptr) {
 ; CHECK-LABEL: @f_1(
----------------
Could you please add another test where assume uses a Phi or another unhoistable value from the loop, and therefore cannot be hoisted?


Repository:
  rL LLVM

https://reviews.llvm.org/D50364





More information about the llvm-commits mailing list