mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
f2f6ce65b7
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
758 B
LLVM
16 lines
758 B
LLVM
; RUN: opt < %s -instcombine | llvm-dis
|
|
; PR4495
|
|
|
|
define i32 @test(i64 %test) {
|
|
entry:
|
|
%0 = bitcast <4 x i32> undef to <16 x i8> ; <<16 x i8>> [#uses=1]
|
|
%t12 = shufflevector <16 x i8> %0, <16 x i8> zeroinitializer, <16 x i32> <i32 0, i32 16, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0> ; <<16 x i8>> [#uses=1]
|
|
%t11 = bitcast <16 x i8> %t12 to <2 x i64> ; <<2 x i64>> [#uses=1]
|
|
%t9 = extractelement <2 x i64> %t11, i32 0 ; <i64> [#uses=1]
|
|
%t10 = bitcast i64 %t9 to <2 x i32> ; <<2 x i32>> [#uses=1]
|
|
%t7 = bitcast i64 %test to <2 x i32> ; <<2 x i32>> [#uses=1]
|
|
%t6 = xor <2 x i32> %t10, %t7 ; <<2 x i32>> [#uses=1]
|
|
%t1 = extractelement <2 x i32> %t6, i32 0 ; <i32> [#uses=1]
|
|
ret i32 %t1
|
|
}
|