
The legacy PM is deprecated, so update a bunch of lit tests running opt to use the new PM syntax when specifying the pipeline. In this patch focus has been put on test cases for ConstantMerge, ConstraintElimination, CorrelatedValuePropagation, GlobalDCE, GlobalOpt, SCCP, TailCallElim and PredicateInfo. Differential Revision: https://reviews.llvm.org/D114516
10 lines
306 B
LLVM
10 lines
306 B
LLVM
; RUN: opt < %s -passes=ipsccp -S | FileCheck %s
|
|
|
|
define i128 @vector_to_int_cast() {
|
|
%A = bitcast <4 x i32> <i32 1073741824, i32 1073741824, i32 1073741824, i32 1073741824> to i128
|
|
ret i128 %A
|
|
}
|
|
|
|
; CHECK: define i128 @vector_to_int_cast(
|
|
; CHECK-NEXT: ret i128 85070591750041656499021422275829170176
|