diff --git a/test/Transforms/GlobalDCE/complex-constantexpr.ll b/test/Transforms/GlobalDCE/complex-constantexpr.ll index 2978704ddf2..4bf1aeee709 100644 --- a/test/Transforms/GlobalDCE/complex-constantexpr.ll +++ b/test/Transforms/GlobalDCE/complex-constantexpr.ll @@ -1,4 +1,4 @@ -; RUN: opt -globaldce -disable-output < %s +; RUN: opt -O2 -disable-output < %s ; PR15714 %struct.ham = type { i32 } diff --git a/test/Transforms/PhaseOrdering/scev.ll b/test/Transforms/PhaseOrdering/scev.ll index c3b71943f81..39adb6b73d3 100644 --- a/test/Transforms/PhaseOrdering/scev.ll +++ b/test/Transforms/PhaseOrdering/scev.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -analyze -scalar-evolution < %s | FileCheck %s +; RUN: opt -O3 -S -analyze -scalar-evolution < %s | FileCheck %s ; ; This file contains phase ordering tests for scalar evolution. ; Test that the standard passes don't obfuscate the IR so scalar evolution can't