[ConstFold] Salvage some div/rem folding test (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 6 Jul 2022 08:01:17 +0000 (10:01 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 6 Jul 2022 08:03:03 +0000 (10:03 +0200)
commit02b38ba8aa6ea32be5198849fff93929a117afe6
tree00d4e2080541c98ff573d87fd1df57de048eee28
parentc2d1d9f942a402569e226a2541e1bafcc02aa0b9
[ConstFold] Salvage some div/rem folding test (NFC)

The div/rem constant expressions are going away in D129148. Convert
some tests to use InstSimplify instead, to show that the constant
folding still happens.
llvm/test/Assembler/ConstantExprFold.ll
llvm/test/Transforms/InstSimplify/ConstProp/2007-02-23-sdiv.ll [deleted file]
llvm/test/Transforms/InstSimplify/ConstProp/2009-06-20-constexpr-zero-lhs.ll
llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
llvm/test/Transforms/InstSimplify/div.ll