repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
mmx-bitcast-fold.ll
blob
fc7ce73a441e88cca4ae3785e10be3851aee7982
1
; RUN: opt -mtriple=x86_64-- -early-cse < %s -S | FileCheck %s
2
3
; CHECK: @foo(x86_mmx bitcast (double 0.000000e+00 to x86_mmx))
4
5
define void @bar() {
6
entry:
7
%0 = bitcast double 0.0 to x86_mmx
8
%1 = call x86_mmx @foo(x86_mmx %0)
9
ret void
10
}
11
12
declare x86_mmx @foo(x86_mmx)