projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix coalescing with IMPLICIT_DEF values.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
bitcast2.ll
1
; RUN: llc < %s -march=x86-64 | grep movd | count 2
2
; RUN: llc < %s -march=x86-64 | not grep rsp
3
4
define i64 @test1(double %A) {
5
%B = bitcast double %A to i64
6
ret i64 %B
7
}
8
9
define double @test2(i64 %A) {
10
%B = bitcast i64 %A to double
11
ret double %B
12
}
13