Revert "[SimplifyCFG][LICM] Preserve nonnull, range and align metadata when speculating"
authorNikita Popov <npopov@redhat.com>
Wed, 5 Apr 2023 15:03:20 +0000 (17:03 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 5 Apr 2023 15:05:39 +0000 (17:05 +0200)
commit7c78cb4b1f4993a84bf2b46b197d90dcabb9f8c5
tree3418a9e0c7c260d0ed7a01742926b217488a3aa9
parent6da1f2277dd1fbd560204c6ab0e129eb3cb0906b
Revert "[SimplifyCFG][LICM] Preserve nonnull, range and align metadata when speculating"

This reverts commit 78b1fbc63f78660ef10e3ccf0e527c667a563bc8.

This causes or exposes miscompiles in Rust, revert until they
have been investigated.
llvm/include/llvm/IR/Instruction.h
llvm/lib/IR/Instruction.cpp
llvm/lib/Transforms/Scalar/LICM.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/LICM/hoist-metadata.ll
llvm/test/Transforms/SimplifyCFG/hoist-with-metadata.ll