[Openmp-commits] [PATCH] D83271: [OpenMP] Replace function pointer uses in GPU state machine
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jul 6 19:44:04 PDT 2020
tianshilei1992 added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:1047
+ for (Use *U : ToBeReplacedStateMachineUses)
+ U->set(ConstantExpr::getBitCast(ID, U->get()->getType()));
+
----------------
Probably we need to set `Changed` to `true` here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83271/new/
https://reviews.llvm.org/D83271
More information about the Openmp-commits
mailing list