[PATCH] D89371: [NPM] Port -loop-versioning-licm to NPM
Ta-Wei Tu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 02:56:22 PDT 2020
TaWeiTu added inline comments.
================
Comment at: llvm/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll:2
; RUN: opt < %s -O1 -S -loop-versioning-licm -licm -debug-only=loop-versioning-licm 2>&1 | FileCheck %s
+; RUN: opt < %s -S -passes='loop(loop-versioning-licm),loop(licm)' --aa-pipeline=default -debug-only=loop-versioning-licm 2>&1 | FileCheck %s
; REQUIRES: asserts
----------------
Running the two passes separately here to ensure the simplified and LCSSA loop structured of the versioned loops so that LICM works properly.
Is there a better way to do so?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89371/new/
https://reviews.llvm.org/D89371
More information about the llvm-commits
mailing list