Revert "Revert "InstSimplify: Require instruction be parented""
authorArthur Eubanks <aeubanks@google.com>
Fri, 16 Jun 2023 20:47:30 +0000 (13:47 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 16 Jun 2023 20:53:31 +0000 (13:53 -0700)
commit3e39cfe5b4af7a8496049f623cfce177dc1903d6
treefeeab5c951c0d48f68ddd7f512b6a787ad0c71b2
parent5759e3ce6d03a8363779df2efea554a15ff61047
Revert "Revert "InstSimplify: Require instruction be parented""

This reverts commit 0c03f48480f69b854f86d31235425b5cb71ac921.

Going to fix forward size regression instead due to more dependent patches needing to be reverted otherwise.
17 files changed:
llvm/docs/ReleaseNotes.rst
llvm/include/llvm/Analysis/InstructionSimplify.h
llvm/include/llvm/IR/BasicBlock.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/IR/BasicBlock.cpp
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/lib/Transforms/Utils/CloneFunction.cpp
llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/Inline/inline_inv_group.ll
llvm/test/Transforms/Inline/simplify-instruction-computeKnownFPClass-context.ll
llvm/test/Transforms/LoopRotate/pr56260.ll
llvm/test/Transforms/PhaseOrdering/runtime-check-removal.ll
llvm/test/Transforms/SampleProfile/profile-context-tracker-debug.ll
llvm/test/Transforms/SampleProfile/pseudo-probe-stale-profile-matching.ll
llvm/test/Transforms/SimplifyCFG/pr46638.ll
llvm/unittests/Transforms/Utils/LocalTest.cpp