xref: /llvm-project/llvm/test/CodeGen/X86/mmx-bitcast-fold.ll (revision b7e4fba6e5dcae5ff51f8eced21470a1b3ccd895)
1; RUN: opt -mtriple=x86_64-- -passes=early-cse -earlycse-debug-hash < %s -S | FileCheck %s
2
3; CHECK: @foo(<1 x i64> zeroinitializer)
4
5define void @bar() {
6entry:
7  %0 = bitcast double 0.0 to <1 x i64>
8  %1 = call <1 x i64> @foo(<1 x i64> %0)
9  ret void
10}
11
12declare <1 x i64> @foo(<1 x i64>)
13