[PATCH] D156532: [Pipelines] Perform hoisting prior to GVN

Ramkumar Ramachandra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 08:56:19 PDT 2023


artagnon added inline comments.


================
Comment at: llvm/test/Transforms/PhaseOrdering/gvn-replacement-vs-hoist.ll:2
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
 ; RUN: opt -S -O3 < %s | FileCheck %s
 
----------------
I just noticed that you're using the old PM. If you change this to `opt -S -passes='default<O3>'`, this example will be vectorized as well.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156532/new/

https://reviews.llvm.org/D156532



More information about the llvm-commits mailing list