[PATCH] D95026: [SimplifyCFG] Update FoldBranchToCommonDest to be poison-safe

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 00:22:35 PST 2021


aqjune added inline comments.


================
Comment at: llvm/lib/Target/BPF/BPFAdjustOpt.cpp:118
   //   ... or new_comp1 comp2 ...
-  if (I.getOpcode() != Instruction::Or)
     return false;
----------------
This update was needed to support llvm/test/CodeGen/BPF/adjust-opt-icmp1.ll .


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95026



More information about the llvm-commits mailing list