[PATCH] D121944: [LICM] Add allowspeculation pass options.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 12:55:34 PDT 2022


fhahn created this revision.
fhahn added reviewers: reames, asbirlea, lebedev.ri, wsmoses, aeubanks.
Herald added a subscriber: hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a project: LLVM.

This adds a new option to control AllowSpeculation added in D119965 <https://reviews.llvm.org/D119965> when
using `-passes=...`.

This allows reproducing #54023 using opt.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121944

Files:
  llvm/include/llvm/Transforms/Scalar/LICM.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/test/Transforms/LICM/allow-speculation-option.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121944.416291.patch
Type: text/x-patch
Size: 8022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220317/922f4241/attachment.bin>


More information about the llvm-commits mailing list