[PATCH] D50501: [LICM] Hoist guards with invariant conditions

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 9 11:40:22 PDT 2018


sanjoy added a comment.

Didn't look at the code, but this needs a test case that shows we don't hoist the second guard in

  for (;;) {
    guard(loop_varying);
    gurad(loop_invariant);
  }


https://reviews.llvm.org/D50501





More information about the llvm-commits mailing list