Files
clang-p2996/llvm/test/Transforms/InstSimplify/ConstProp/2006-11-30-vector-cast.ll
Bjorn Pettersson b280ee1dd7 [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.

Differential Revision: https://reviews.llvm.org/D119080
2022-02-07 14:26:58 +01:00

11 lines
341 B
LLVM

; RUN: opt < %s -passes=instsimplify -S | \
; RUN: grep "i32 -1"
; RUN: opt < %s -passes=instsimplify -S | \
; RUN: not grep zeroinitializer
define <4 x i32> @test() {
%tmp40 = bitcast <2 x i64> bitcast (<4 x i32> < i32 0, i32 0, i32 -1, i32 0 > to <2 x i64>) to <4 x i32>; <<4 x i32>> [#uses=1]
ret <4 x i32> %tmp40
}