Revert "Revert "InstSimplify: Require instruction be parented""
authorAlan Zhao <ayzhao@google.com>
Fri, 16 Jun 2023 17:58:17 +0000 (10:58 -0700)
committerAlan Zhao <ayzhao@google.com>
Fri, 16 Jun 2023 17:58:54 +0000 (10:58 -0700)
commitd6b4f6786ba5d061d5d5822dd391682dd7185e71
treeec0fc9d1a2a909467291a5c080d5c7f8eb43d426
parent44930490124d29c07b9538fb08fc6c7713cd74dc
Revert "Revert "InstSimplify: Require instruction be parented""

This reverts commit 00264eac4d0938ae8a0826da38e4777be269124c.

Reason: caused a bunch of bots to break
16 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/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