mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
61cc47e15d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136148 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
409 B
LLVM
13 lines
409 B
LLVM
; RUN: llc < %s -march=x86 -mattr=-sse2,+sse | grep addps
|
|
|
|
; PR10497 + another isel issue with sse2 disabled
|
|
; (This is primarily checking that this construct doesn't crash.)
|
|
define void @a(<2 x float>* %a, <2 x i32>* %b) {
|
|
%cc = load <2 x float>* %a
|
|
%c = fadd <2 x float> %cc, %cc
|
|
%dd = bitcast <2 x float> %c to <2 x i32>
|
|
%d = add <2 x i32> %dd, %dd
|
|
store <2 x i32> %d, <2 x i32>* %b
|
|
ret void
|
|
}
|