[test][InstCombine][NewPM] Fix InstCombine tests under NPM
authorArthur Eubanks <aeubanks@google.com>
Wed, 23 Sep 2020 22:11:40 +0000 (15:11 -0700)
committerArthur Eubanks <aeubanks@google.com>
Tue, 6 Oct 2020 14:39:00 +0000 (07:39 -0700)
commit8df17b4dc12292cd7adc9c46a5bd75b8db26d49e
treeaae133f7e45f8c6f0e2dcb653892a22a8ba41cf2
parent61d4b342d15a82d5e841d9e72a52d77eaa5b5097
[test][InstCombine][NewPM] Fix InstCombine tests under NPM

Some of these depended on analyses being present that aren't provided
automatically in NPM.

early_dce_clobbers_callgraph.ll was previously inlining a noinline function?

cast-call-combine.ll relied on the legacy always-inline pass being a
CGSCC pass and getting rerun.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D88187
llvm/test/Transforms/InstCombine/cast-call-combine.ll
llvm/test/Transforms/InstCombine/early_dce_clobbers_callgraph.ll
llvm/test/Transforms/InstCombine/fputs-opt-size.ll
llvm/test/Transforms/InstCombine/gep-combine-loop-invariant.ll
llvm/test/Transforms/InstCombine/infinite-loop-postdom.ll