[PATCH] D84629: [LazyValueInfo] Let getEdgeValueLocal look into freeze instructions

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 12:09:46 PDT 2020


nikic added inline comments.


================
Comment at: llvm/lib/Analysis/LazyValueInfo.cpp:1316
+          (isa<FreezeInst>(Val) &&
+           Condition == cast<FreezeInst>(Val)->getOperand(0)))
         return ValueLatticeElement::get(ConstantInt::get(
----------------
Wouldn't we expect such a freeze to get dropped by InstSimplify/InstCombine anyway?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84629/new/

https://reviews.llvm.org/D84629





More information about the llvm-commits mailing list