[PATCH] D103277: [RISCV] Teach VSETVLI insertion to look through PHIs to prove we don't need to insert a vsetvli.
Roger Ferrer Ibanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 27 14:30:52 PDT 2021
rogfer01 accepted this revision.
rogfer01 added a comment.
This revision is now accepted and ready to land.
LGTM. Thanks @craig.topper
================
Comment at: llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp:36
+static cl::opt<bool> DisableInsertVSETVLPHIOpt(
+ "riscv-disable-insert-vsetvl-phi-opt", cl::init(false), cl::Hidden,
----------------
Just curious here: do you foresee this might get expensive or this is a debugging utility?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103277/new/
https://reviews.llvm.org/D103277
More information about the llvm-commits
mailing list