[NewPM][test] Use -passes syntax in SpeculativeExecution lit tests
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Wed, 20 Oct 2021 10:32:08 +0000 (12:32 +0200)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Wed, 20 Oct 2021 13:16:17 +0000 (15:16 +0200)
commit57bd67abfcb8799cbee204e5fd92fe60bce3f9bf
tree3cee403ddf68c79fbb8667e402aa84a12807b559
parenta413663d8fea6700076010b7e4458b03a8bfb8b4
[NewPM][test] Use -passes syntax in SpeculativeExecution lit tests

The legacy PM is deprecated, so use the new PM syntax in lit tests
running the speculative-execution pass.
llvm/test/Transforms/SpeculativeExecution/PR46267.ll
llvm/test/Transforms/SpeculativeExecution/spec-calls.ll
llvm/test/Transforms/SpeculativeExecution/spec-casts.ll
llvm/test/Transforms/SpeculativeExecution/spec-compares.ll
llvm/test/Transforms/SpeculativeExecution/spec-other-inseltpoison.ll
llvm/test/Transforms/SpeculativeExecution/spec-other.ll
llvm/test/Transforms/SpeculativeExecution/spec.ll