mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
54962ac233
triggered using llc with -O0, which wouldn't let it be folded and expose the lack of this pattern. llvm-svn: 139320
11 lines
244 B
LLVM
11 lines
244 B
LLVM
; RUN: llc < %s -O0 -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
|
|
|
|
; CHECK: vmovsd (%
|
|
; CHECK-NEXT: vmovd %xmm
|
|
define i64 @bitcasti64tof64() {
|
|
%a = load double* undef
|
|
%b = bitcast double %a to i64
|
|
ret i64 %b
|
|
}
|
|
|