[PATCH] D136060: Mark branches lowered from guards as !make.implicit

Dmitry Bakunevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 01:31:07 PDT 2022


dbakunevich created this revision.
dbakunevich added reviewers: mkazantsev, apilipenko.
Herald added subscribers: asbirlea, hiraditya.
Herald added a project: All.
dbakunevich requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

We need to be able to apply implicit null check speculation to branches lowered from llvm.experimental.guard. For this, add !make.implicit metadata on them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136060

Files:
  llvm/lib/Transforms/Utils/GuardUtils.cpp
  llvm/test/Transforms/LICM/explicit_guards.ll
  llvm/test/Transforms/LowerGuardIntrinsic/basic.ll
  llvm/test/Transforms/MakeGuardsExplicit/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136060.468131.patch
Type: text/x-patch
Size: 10060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221017/edddd706/attachment.bin>


More information about the llvm-commits mailing list