[PATCH] D154307: [InstructionSimplify] Avoid simplifying ICmp without parent

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 15 20:52:57 PDT 2023


gandhi21299 added a comment.

Inserting the cloned instruction `ValueOp` after `I` at https://github.com/llvm/llvm-project/blob/6954cb54252b50df95eea05c513e739b3ad2c8a0/llvm/lib/Transforms/Scalar/NewGVN.cpp#L2767 incorrectly deduces values in tests involving PHI of ops.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154307



More information about the llvm-commits mailing list