Use the new PM syntax when specifying the pipeline in regression tests previously running "opt -newgvn ..." Instead we now do "opt -passes=newgvn ..." Notice that this also changes the aa-pipeline to become the default aa-pipeline instead of just basic-aa. Since these tests haven't been explicitly requesting basic-aa in the past (compared to the test cases updated in a separate patch involving "-basic-aa -newgvn") it is assumed that the exact aa-pipeline isn't important for the validity of the test cases. An alternative could have been to add -aa-pipeline=basic-aa as well to the run lines, but that might just add clutter in case the test cases do not care about the aa-pipeline. This is another step to move away from the legacy PM syntax when specifying passes in opt. Differential Revision: https://reviews.llvm.org/D118341
16 lines
717 B
LLVM
16 lines
717 B
LLVM
; RUN: opt < %s -passes=newgvn | llvm-dis
|
|
|
|
%struct.s_segment_inf = type { float, i32, i16, i16, float, float, i32, float, float }
|
|
|
|
define void @print_arch(i8* %arch_file, i32 %route_type, i64 %det_routing_arch.0.0, i64 %det_routing_arch.0.1, i64 %det_routing_arch.0.2, i64 %det_routing_arch.0.3, i64 %det_routing_arch.0.4, %struct.s_segment_inf* %segment_inf, i64 %timing_inf.0.0, i64 %timing_inf.0.1, i64 %timing_inf.0.2, i64 %timing_inf.0.3, i64 %timing_inf.0.4, i32 %timing_inf.1) {
|
|
entry:
|
|
br i1 false, label %bb278, label %bb344
|
|
|
|
bb278: ; preds = %bb278, %entry
|
|
br i1 false, label %bb278, label %bb344
|
|
|
|
bb344: ; preds = %bb278, %entry
|
|
%tmp38758 = load i16, i16* null, align 2 ; <i16> [#uses=0]
|
|
ret void
|
|
}
|