[PATCH] D75799: Don't create PHI nodes with "is.constant" values
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 7 02:42:54 PST 2020
xbolva00 added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/JumpThreading.cpp:2012
+ if (!isa<IntrinsicInst>(I) ||
+ cast<IntrinsicInst>(I).getIntrinsicID() != Intrinsic::is_constant)
+ continue;
----------------
You can use m_Intrinsic matcher from llvm pattern match
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75799/new/
https://reviews.llvm.org/D75799
More information about the llvm-commits
mailing list