[PATCH] D76564: [ValueTracking] Avoid blind cast from Operator to Instruction

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 22 06:54:52 PDT 2020


bjope marked 2 inline comments as done.
bjope added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:1743
+    if (!Shuf)
+      return;
     // For undef elements, we don't know anything about the common state of
----------------
RKSimon wrote:
> ```
> if (!Shuf) {
>   Known.resetAll();
>   return;
> }
> ```
> 
Yes, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76564





More information about the llvm-commits mailing list